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

Skip to content
Commit d89cec2f authored by Bryce Lee's avatar Bryce Lee Committed by brycelee
Browse files

Execute low light conditions on background thread.

This changelist ensures that low light logic occurs within the
background scope so no blocking calls are made on the main thread.
The only exception is DeviceInactiveCondition, which requires
keyguard update callbacks to be registered on the main thread.

Fixes: 394520234
Test: atest DirectBootConditionTest
Test: atest DeviceInactiveConditionTest
Test: atest ForceLowLightConditionTest
Test: atest LowLightConditionTest
Test: atest ScreenSaverEnabledConditionTest
Flag: EXEMPT bugfix
Change-Id: Iab9dd2ae99ef698ee185b148634807f2503b0143
parent 3b3ec4a9
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