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

Commit f7806581 authored by Jason Monk's avatar Jason Monk
Browse files

Avoid crashing

Bug: 22202631
Change-Id: I1980f77ae4300dbd19d6829dc5974bab0b88d612
parent ad1f28cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -346,7 +346,7 @@ public class InstalledAppDetails extends AppInfoBase
        mMemoryPreference.setOnPreferenceClickListener(this);

        mLaunchPreference = findPreference(KEY_LAUNCH);
        if (mAppEntry.info != null) {
        if (mAppEntry != null && mAppEntry.info != null) {
            if ((mAppEntry.info.flags&ApplicationInfo.FLAG_INSTALLED) == 0 ||
                    !mAppEntry.info.enabled) {
                mLaunchPreference.setEnabled(false);