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

Skip to content
Commit 06dea749 authored by daren.liao's avatar daren.liao Committed by Hongguang
Browse files

Use elapsed real time for sleep duration for the wake up with home intent

getLastWakeup is used for Boot resume feature Currently timer stops
running when TV enter STR mode. We replace CPU time to RTC time so
that the timer runs even in STR mode

Bug: 199339422
Test: atest com.android.server.power.PowerManagerServiceTest
Test: atest com.android.server.power.PowerManagerServiceMockingTest
Change-Id: Ib092a692e957c3df92cf9b61efad5490e4e221c1
parent d8f55ac9
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