From a886ea6e2705b67c49d260366a9e32070175c44f Mon Sep 17 00:00:00 2001 From: bigbiff bigbiff Date: Wed, 2 Apr 2014 20:38:53 -0400 Subject: Add /system/priv-app to fix permissions code. New in jellybean. Change-Id: Id1df17cf06d1158642aa77bef5fd49b596c7906e --- fixPermissions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3