Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34d6ea56 authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Fix crash in Settings from uninstall

am: 6e2e8e17

* commit '6e2e8e17':
  Fix crash in Settings from uninstall
parents f3ad5262 6e2e8e17
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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) {