diff options
author | Jason Monk <jmonk@google.com> | 2015-10-21 01:46:11 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-10-21 01:46:11 +0000 |
commit | 47db2ba62840135894cf139886c68e63a4497626 (patch) | |
tree | a1339f6c643a9489e8a14e5238db76de1197bcd9 | |
parent | 98ec49dd6c3105e342cf8e6c4fb5eb6168924b13 (diff) | |
parent | 6fde534148c3f93b6362d4927270f81048a6bef3 (diff) | |
download | packages_apps_Settings-47db2ba62840135894cf139886c68e63a4497626.zip packages_apps_Settings-47db2ba62840135894cf139886c68e63a4497626.tar.gz packages_apps_Settings-47db2ba62840135894cf139886c68e63a4497626.tar.bz2 |
Allow access to permissions, even if app has none am: 36866c8e84
am: 6fde534148
* commit '6fde534148c3f93b6362d4927270f81048a6bef3':
Allow access to permissions, even if app has none
-rwxr-xr-x | src/com/android/settings/applications/InstalledAppDetails.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/android/settings/applications/InstalledAppDetails.java b/src/com/android/settings/applications/InstalledAppDetails.java index a6b35df..4401094 100755 --- a/src/com/android/settings/applications/InstalledAppDetails.java +++ b/src/com/android/settings/applications/InstalledAppDetails.java @@ -961,7 +961,6 @@ public class InstalledAppDetails extends AppInfoBase mPermissionReceiver = null; final Resources res = getResources(); CharSequence summary = null; - boolean enabled = false; if (counts != null) { int totalCount = counts[1]; int additionalCounts = counts[2]; @@ -970,8 +969,6 @@ public class InstalledAppDetails extends AppInfoBase summary = res.getString( R.string.runtime_permissions_summary_no_permissions_requested); } else { - enabled = true; - final ArrayList<CharSequence> list = new ArrayList(Arrays.asList(groupLabels)); if (additionalCounts > 0) { // N additional permissions. @@ -988,7 +985,6 @@ public class InstalledAppDetails extends AppInfoBase } } mPermissionsPreference.setSummary(summary); - mPermissionsPreference.setEnabled(enabled); } }; } |