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

Commit 994a65df authored by Li Li's avatar Li Li Committed by Android (Google) Code Review
Browse files

Merge "DMS: check cached mode for user apps only" into main

parents 83b2ece6 5653c6b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2974,7 +2974,7 @@ public final class DisplayManagerService extends SystemService {

    // Check if the target app is in cached mode
    private boolean isUidCached(int uid) {
        if (mActivityManagerInternal == null) {
        if (mActivityManagerInternal == null || uid < FIRST_APPLICATION_UID) {
            return false;
        }
        int procState = mActivityManagerInternal.getUidProcessState(uid);