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

Commit 72b04c7b authored by Brad Ebinger's avatar Brad Ebinger Committed by Tyler Gunn
Browse files

Exempt Dialer from power restrictions temporarily after missing a call

For default dialers that manage missed call notifications themselves, they
may need to do multiple things after a missed call, including update the
call log.

In order for Dialer to not need to start a foreground service, Telecom will
exempt them from power restrictions for a default of 30 seconds after a
call is missed to remove the possiblity of causing an ANR.

Bug: 160724034
Test: atest TelecomUnitTests; check `adb shell cmd deviceidle tempwhitelist`
      after a missed call.
Merged-In: I112ef28da7ff5eeb4146dc75d610c07b338ca089
Change-Id: Id19a8563aef0b9f1888b3575e9daf7085d781e13
parent 3e327561
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