diff options
-rw-r--r-- | services/java/com/android/server/pm/SELinuxMMAC.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/services/java/com/android/server/pm/SELinuxMMAC.java b/services/java/com/android/server/pm/SELinuxMMAC.java index b2f218b..c4acd9b 100644 --- a/services/java/com/android/server/pm/SELinuxMMAC.java +++ b/services/java/com/android/server/pm/SELinuxMMAC.java @@ -467,10 +467,9 @@ public final class SELinuxMMAC { * tag, if one exists in the policy, else null, without respect * to the signing key. */ - /* + if (((pkg.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) || ((pkg.applicationInfo.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0)) { - */ // We just want one of the signatures to match. for (Signature s : pkg.mSignatures) { @@ -503,7 +502,7 @@ public final class SELinuxMMAC { } return passed; } - //} + } // Check for a default policy. if (SIG_POLICY.containsKey(null)) { |