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

Skip to content
Commit c40fd129 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Consistently use CPU uptime for temporary allowlist

The handler message to evaluate the timeout is delayed based on CPU
uptime. The calculation of the time throughout activity manager should
just use the same clock for ending the temporary allowlist for each app.

Flag: com.android.server.deviceidle.use_cpu_time_for_temp_allowlist

Test: atest FrameworksMockingServicesTests:DeviceIdleControllerTest
Test: Manually inspect dumps

BYPASS_INCLUSIVE_LANGUAGE_REASON=Existing APIs

Bug: 376561328
Change-Id: I8c256e0a5536fe8278b1021f389d7ee37b88e22c
parent c8e11e11
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