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

Commit eb168435 authored by Ruchi Kandoi's avatar Ruchi Kandoi Committed by Dmitry Shmidt
Browse files

ANDROID: nf: IDLETIMER: time-stamp and suspend/resume handling.



Message notifications contains an additional timestamp field in nano seconds.
The expiry time for the timers are modified during suspend/resume.
If timer was supposed to expire while the system is suspended then a
notification is sent when it resumes with the timestamp of the scheduled expiry.

Removes the race condition for multiple work scheduled.

Bug: 13247811

Change-Id: I752c5b00225fe7085482819f975cc0eb5af89bff
Signed-off-by: default avatarRuchi Kandoi <kandoiruchi@google.com>
parent a347e8ef
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