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

Commit 9b5ebc98 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Follow-up on bug #65298216: DeviceIdleController needs to...

...watch interactivity, not display state

Fix locking.

Bug: 65298216
Test: manual
Change-Id: If761ce73c82c23295720aea73c3a7fdda40ceedf
parent b913a1e6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -403,8 +403,10 @@ public class DeviceIdleController extends SystemService
    private final BroadcastReceiver mInteractivityReceiver = new BroadcastReceiver() {
        @Override
        public void onReceive(Context context, Intent intent) {
            synchronized (DeviceIdleController.this) {
                updateInteractivityLocked();
            }
        }
    };

    private final class MotionListener extends TriggerEventListener