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

Skip to content
Commit bd641e82 authored by Rupesh Bansal's avatar Rupesh Bansal
Browse files

Moved BatteryStats and AppOps wakelock updates to the notifier thread

We are moving the tasks performed on AppOpsManager and BatteryStats to
the handler thread to improve the latency of acquiring and releasing
the wakelocks.

This CL was originally merged and then reverted: ag/27435252 because of
a regression that was introduced in Notifier::notifyWakeLockListener
where some required logic was put behind a feature flag.

Bug: 296508214
Test: atest NotifierTest
Change-Id: Id69ecb9c2cd90ee5342783ea1b220c8290212e81
parent b6778b2e
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