Commit 9b724fd6 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Show location permission group, even when fixed." into mnc-dev

parents ab1e5900 3c093f94
......@@ -79,7 +79,8 @@ 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()) {
if (group.isSystemFixed()
&& !Manifest.permission_group.LOCATION.equals(group.getName())) {
return false;
}
......@@ -102,7 +103,8 @@ 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()) {
if (app.isSystemFixed()
&& !Manifest.permission_group.LOCATION.equals(app.getPermissionGroup().getName())) {
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment