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

Commit 1e1688a8 authored by Suprabh Shukla's avatar Suprabh Shukla Committed by Automerger Merge Worker
Browse files

Merge "Fail callers that use exact alarms without permission" into sc-dev am: fad1fea1

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

Change-Id: Id6a557b5ac6026cca0ff98b2265480f096a20eb7
parents f95a3807 fad1fea1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -472,8 +472,7 @@ public class AlarmManagerService extends SystemService {
        private static final long DEFAULT_ALLOW_WHILE_IDLE_WINDOW = 60 * 60 * 1000; // 1 hour.
        private static final long DEFAULT_ALLOW_WHILE_IDLE_COMPAT_WINDOW = 9 * 60 * 1000; // 9 mins.

        // TODO (b/171306433): Change to true by default.
        private static final boolean DEFAULT_CRASH_NON_CLOCK_APPS = false;
        private static final boolean DEFAULT_CRASH_NON_CLOCK_APPS = true;

        private static final long DEFAULT_PRIORITY_ALARM_DELAY = 9 * 60_000;