Add /system/priv-app to fix permissions code. New in jellybean.

Change-Id: Id1df17cf06d1158642aa77bef5fd49b596c7906e
This commit is contained in:
bigbiff bigbiff
2014-05-31 14:20:51 +02:00
committed by Gerrit Code Review
parent 62b75ab66a
commit a886ea6e27
+1 -1
View File
@@ -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());