summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/com')
-rwxr-xr-xsrc/com/android/settings/applications/InstalledAppDetails.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/settings/applications/InstalledAppDetails.java b/src/com/android/settings/applications/InstalledAppDetails.java
index 4401094..824cd18 100755
--- a/src/com/android/settings/applications/InstalledAppDetails.java
+++ b/src/com/android/settings/applications/InstalledAppDetails.java
@@ -704,6 +704,10 @@ public class InstalledAppDetails extends AppInfoBase
* @see android.view.View.OnClickListener#onClick(android.view.View)
*/
public void onClick(View v) {
+ if (mAppEntry == null) {
+ setIntentAndFinish(true, true);
+ return;
+ }
String packageName = mAppEntry.info.packageName;
if(v == mUninstallButton) {
if ((mAppEntry.info.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {