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

Commit bf25b688 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "mLocalDeviceIdleController could be null." into sc-dev

parents cd86f384 0a986df1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -14621,7 +14621,9 @@ public class ActivityManagerService extends IActivityManager.Stub
            String reason, @TempAllowListType int type, int callingUid) {
        synchronized (mProcLock) {
            // The temp allowlist type could change according to the reasonCode.
            if (mLocalDeviceIdleController != null) {
                type = mLocalDeviceIdleController.getTempAllowListType(reasonCode, type);
            }
            if (type == TEMPORARY_ALLOW_LIST_TYPE_NONE) {
                return;
            }