Add /system/priv-app to fix permissions code. New in jellybean.
Change-Id: Id1df17cf06d1158642aa77bef5fd49b596c7906e
diff --git a/fixPermissions.cpp b/fixPermissions.cpp
index db6e90b..3fed06c 100644
--- a/fixPermissions.cpp
+++ b/fixPermissions.cpp
@@ -333,7 +333,7 @@
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());