diff options
Diffstat (limited to 'src/com/android/settings/applications/ManageApplications.java')
-rw-r--r-- | src/com/android/settings/applications/ManageApplications.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/settings/applications/ManageApplications.java b/src/com/android/settings/applications/ManageApplications.java index 772e48d..34e0e8e 100644 --- a/src/com/android/settings/applications/ManageApplications.java +++ b/src/com/android/settings/applications/ManageApplications.java @@ -354,7 +354,11 @@ public class ManageApplications extends TabActivity implements holder.appIcon.setImageDrawable(entry.icon); } holder.updateSizeText(ManageApplications.this); - holder.disabled.setVisibility(entry.info.enabled ? View.GONE : View.VISIBLE); + if (InstalledAppDetails.SUPPORT_DISABLE_APPS) { + holder.disabled.setVisibility(entry.info.enabled ? View.GONE : View.VISIBLE); + } else { + holder.disabled.setVisibility(View.GONE); + } } mActive.remove(convertView); mActive.add(convertView); |