Skip to content

Commit

Permalink
Add /system/priv-app to fix permissions code. New in jellybean.
Browse files Browse the repository at this point in the history
Change-Id: Id1df17cf06d1158642aa77bef5fd49b596c7906e
  • Loading branch information
bigbiff authored and Gerrit Code Review committed May 31, 2014
1 parent 62b75ab commit a886ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fixPermissions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit a886ea6

Please sign in to comment.