summaryrefslogtreecommitdiffstats
path: root/fixPermissions.cpp
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2014-04-03 02:38:53 +0200
committerGerrit Code Review <gerrit2@gerrit>2014-05-31 14:20:51 +0200
commita886ea6e2705b67c49d260366a9e32070175c44f (patch)
tree3e9f262245d033764737124abe359e4a3077ddc5 /fixPermissions.cpp
parentUpdate minui to support overlay graphics (diff)
downloadandroid_bootable_recovery-a886ea6e2705b67c49d260366a9e32070175c44f.tar
android_bootable_recovery-a886ea6e2705b67c49d260366a9e32070175c44f.tar.gz
android_bootable_recovery-a886ea6e2705b67c49d260366a9e32070175c44f.tar.bz2
android_bootable_recovery-a886ea6e2705b67c49d260366a9e32070175c44f.tar.lz
android_bootable_recovery-a886ea6e2705b67c49d260366a9e32070175c44f.tar.xz
android_bootable_recovery-a886ea6e2705b67c49d260366a9e32070175c44f.tar.zst
android_bootable_recovery-a886ea6e2705b67c49d260366a9e32070175c44f.zip
Diffstat (limited to '')
-rw-r--r--fixPermissions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fixPermissions.cpp b/fixPermissions.cpp
index db6e90b52..3fed06c5e 100644
--- a/fixPermissions.cpp
+++ b/fixPermissions.cpp
@@ -333,7 +333,7 @@ int fixPermissions::fixSystemApps() {
temp = head;
while (temp != NULL) {
if (TWFunc::Path_Exists(temp->codePath)) {
- if (temp->appDir.compare("/system/app") == 0) {
+ if (temp->appDir.compare("/system/app") == 0 || temp->appDir.compare("/system/priv-app") == 0) {
if (debug) {
LOGINFO("Looking at '%s'\n", temp->codePath.c_str());
LOGINFO("Fixing permissions on '%s'\n", temp->pkgName.c_str());