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

Commit abcb069d authored by tiansiming's avatar tiansiming Committed by android-build-merger
Browse files

Merge "Fix NPE crash in AppInfoBase"

am: e49cc3d6

Change-Id: I719b50356e890e57a8d6574aae23a2d5d0fd989b
parents b4ed2b20 e49cc3d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ public abstract class AppInfoBase extends SettingsPreferenceFragment
        if (mPackageName == null) {
            Intent intent = (args == null) ?
                    getActivity().getIntent() : (Intent) args.getParcelable("intent");
            if (intent != null) {
            if (intent != null && intent.getData() != null) {
                mPackageName = intent.getData().getSchemeSpecificPart();
            }
        }