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

Skip to content
Commit da40de71 authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

alarmmanager: Reduce calls to elapsedRealtime()

 * The RTC poweroff wakeup code needs to do an exhaustive search for
   matching alarms during every rebatching. This loop was calling
   elapsedRealtime() for every alarm over and over, which is slow on
   32-bit ARM. This results in ANRs. Just call it once.

Change-Id: I9df947d5a5c4f1d582238be63ce7da580aa26504
parent 162769b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment