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

Commit 98e48691 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

GpsLocationProvider: optimize wake lock usage.



Rather than holding a wake lock the entire time the GPS is active, we now
hold it only when messages are pending for GpsLocationProvider's Handler
and rely on the lower level implementation holding a wake lock when calling
into the provider.

Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent 8f5a8001
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