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

Commit 9875cb61 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "mLocalDeviceIdleController could be null." into sc-dev am: bf25b688

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14521306

Change-Id: I1d70d846c88c3424fa2624b5c3f1ef34ff6f2d1a
parents 83bfee7e bf25b688
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;
            }