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

Commit 0ab95817 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Use local mSensors as index of mSensors list" into sc-v2-dev am: 7a6890fe

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16115165

Change-Id: I07c1f33aab3bd9ba047a9a60a63ee0a56b13a29b
parents 0a0df3c6 7a6890fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -659,7 +659,7 @@ public class DozeSensors {
        @Override
        @AnyThread
        public void onTrigger(TriggerEvent event) {
            final Sensor sensor = mSensors[mDevicePosture];
            final Sensor sensor = mSensors[mPosture];
            mDozeLog.traceSensor(mPulseReason);
            mHandler.post(mWakeLock.wrap(() -> {
                if (DEBUG) Log.d(TAG, "onTrigger: " + triggerEventToString(event));