Add /system/priv-app to fix permissions code. New in jellybean.
Change-Id: Id1df17cf06d1158642aa77bef5fd49b596c7906e
This commit is contained in:
committed by
Gerrit Code Review
parent
62b75ab66a
commit
a886ea6e27
+1
-1
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user