summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/com/android/settings/applications/InstalledAppDetails.java4
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);
}
};
}