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

Commit dfb95187 authored by Winson Chung's avatar Winson Chung
Browse files

Add null check for base activity

Bug: 184870958
Test: Just a null check
Change-Id: Ib8dff1a1f319b216ce70732f5dfc444eac732637
parent 8d2848bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -139,7 +139,7 @@ public class RecentsOnboarding {
        private void onAppLaunch() {
            ActivityManager.RunningTaskInfo info = ActivityManagerWrapper.getInstance()
                    .getRunningTask();
            if (info == null) {
            if (info == null || info.baseActivity == null) {
                return;
            }
            if (mBlacklistedPackages.contains(info.baseActivity.getPackageName())) {