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

Commit cfda009a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Telephony: Add RECEIVER_FOREGROUND flag for idle screen broadcast intent."

parents 02888612 6fac5460
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9474,6 +9474,7 @@ public final class ActivityManagerService extends ActivityManagerNative
            if (intent.getAction().equals(AppInterface.CHECK_SCREEN_IDLE_ACTION)) {
                Slog.i(TAG, "ICC has requested idle screen status");
                Intent idleScreenIntent = new Intent(AppInterface.CAT_IDLE_SCREEN_ACTION);
                idleScreenIntent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
                boolean isIdle = getFocusedStack().isHomeStack();
                idleScreenIntent.putExtra("SCREEN_IDLE", isIdle);
                Slog.i(TAG, "Broadcasting Home idle screen Intent"