summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/packageinstaller/permission/utils/Utils.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/android/packageinstaller/permission/utils/Utils.java b/src/com/android/packageinstaller/permission/utils/Utils.java
index ac47025f..552d4ad4 100644
--- a/src/com/android/packageinstaller/permission/utils/Utils.java
+++ b/src/com/android/packageinstaller/permission/utils/Utils.java
@@ -79,8 +79,7 @@ public class Utils {
public static boolean shouldShowPermission(AppPermissionGroup group) {
// We currently will not show permissions fixed by the system.
// which is what the system does for system components.
- if (group.isSystemFixed()
- && !Manifest.permission_group.LOCATION.equals(group.getName())) {
+ if (group.isSystemFixed()) {
return false;
}
@@ -103,8 +102,7 @@ public class Utils {
public static boolean shouldShowPermission(PermissionApp app) {
// We currently will not show permissions fixed by the system
// which is what the system does for system components.
- if (app.isSystemFixed()
- && !Manifest.permission_group.LOCATION.equals(app.getPermissionGroup().getName())) {
+ if (app.isSystemFixed()) {
return false;
}