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

Commit 49807788 authored by Tetiana Meronyk's avatar Tetiana Meronyk
Browse files

Only schedule wakeups when alarm is set outside of user wakeup offset

Before this change, a repeat wakeup was scheduled for the same alarm when the user was started. This caused a lot of unnecessary kernel reschedules and user start calls.

After this change, such repeat wakeups are not scheduled.

Bug: 314907186
Test: UserWakeupStoreTest
Flag: com.android.server.alarm.start_user_before_scheduled_alarms
Change-Id: I054d1814eece95ff2d79b4460c37434f4ff9a3df
parent 81489831
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment