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

Commit 622438fe authored by Jing Ji's avatar Jing Ji
Browse files

Fix NullPointerException in ActiveService

Bug: 151985835
Test: Manual
Change-Id: Ib9e8a39e8cc07cccb12727e98efcc280d13852ab
parent 2de79fb6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1440,7 +1440,7 @@ public final class ActiveServices {
                                active.mPackageName = r.packageName;
                                active.mUid = r.appInfo.uid;
                                active.mShownWhileScreenOn = mScreenOn;
                                if (r.app != null) {
                                if (r.app != null && r.app.uidRecord != null) {
                                    active.mAppOnTop = active.mShownWhileTop =
                                            r.app.uidRecord.getCurProcState()
                                                    <= ActivityManager.PROCESS_STATE_TOP;