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

Unverified Commit 8cb0fed9 authored by Michael Bestas's avatar Michael Bestas
Browse files

fixup! Partially revert "Assume sensors perform prox check"

Change-Id: I2acde0e73f8040280b0cd42a899b0dda6a19abb4
parent 2480b567
Loading
Loading
Loading
Loading
+15 −11
Original line number Diff line number Diff line
@@ -609,7 +609,8 @@ public class DozeSensors {
                    ignoresSetting,
                    requiresProx,
                    true,
                    immediatelyReRegister
                    immediatelyReRegister,
                    requiresAod
            );
        }

@@ -624,7 +625,8 @@ public class DozeSensors {
                boolean ignoresSetting,
                boolean requiresProx,
                boolean performsProxCheck,
                boolean immediatelyReRegister
                boolean immediatelyReRegister,
                boolean requiresAod
        ) {
            this(
                    new Sensor[]{ sensor },
@@ -669,7 +671,8 @@ public class DozeSensors {
                    requiresProx,
                    true,
                    immediatelyReRegister,
                    posture
                    posture,
                    requiresAod
            );
        }

@@ -685,7 +688,8 @@ public class DozeSensors {
                boolean requiresProx,
                boolean performsProxCheck,
                boolean immediatelyReRegister,
                @DevicePostureController.DevicePostureInt int posture
                @DevicePostureController.DevicePostureInt int posture,
                boolean requiresAod
        ) {
            mSensors = sensors;
            mSetting = setting;