diff --git a/src/com/android/settings/applications/ManageApplications.java b/src/com/android/settings/applications/ManageApplications.java index 273bcfe52cd..f77d4e61117 100644 --- a/src/com/android/settings/applications/ManageApplications.java +++ b/src/com/android/settings/applications/ManageApplications.java @@ -550,9 +550,7 @@ public class ManageApplications extends InstrumentedFragment ApplicationsState.AppEntry entry = mApplications.getAppEntry(position); mCurrentPkgName = entry.info.packageName; mCurrentUid = entry.info.uid; - if (isAppEntryViewEnabled(entry)) { - startApplicationDetailsActivity(); - } + startApplicationDetailsActivity(); } } @@ -658,13 +656,6 @@ public class ManageApplications extends InstrumentedFragment } - private static boolean isAppEntryViewEnabled(AppEntry entry) { - if ((entry.info.flags&ApplicationInfo.FLAG_INSTALLED) == 0 || !entry.info.enabled) { - return false; - } - return true; - } - /* * Custom adapter implementation for the ListView * This adapter maintains a map for each displayed application and its properties @@ -991,7 +982,6 @@ public class ManageApplications extends InstrumentedFragment holder.appIcon.setImageDrawable(entry.icon); } updateSummary(holder); - convertView.setEnabled(isAppEntryViewEnabled(entry)); if ((entry.info.flags&ApplicationInfo.FLAG_INSTALLED) == 0) { holder.disabled.setVisibility(View.VISIBLE); holder.disabled.setText(R.string.not_installed);