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

Unverified Commit c666b330 authored by LuK1337's avatar LuK1337 Committed by Michael Bestas
Browse files

fixup! Partially revert "Assume sensors perform prox check"

* Required after r11 merge

Change-Id: I4fdc27d848a314dfb4a33cf91651d935a759f7c7
parent 5cb9413c
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -578,7 +578,8 @@ public class DozeSensors {
                    requiresTouchscreen,
                    ignoresSetting,
                    requiresProx,
                    true
                    true,
                    immediatelyReRegister
            );
        }

@@ -592,7 +593,8 @@ public class DozeSensors {
                boolean requiresTouchscreen,
                boolean ignoresSetting,
                boolean requiresProx,
                boolean performsProxCheck
                boolean performsProxCheck,
                boolean immediatelyReRegister
        ) {
            this(
                    new Sensor[]{ sensor },
@@ -634,6 +636,7 @@ public class DozeSensors {
                    ignoresSetting,
                    requiresProx,
                    true,
                    immediatelyReRegister,
                    posture
            );
        }
@@ -649,6 +652,7 @@ public class DozeSensors {
                boolean ignoresSetting,
                boolean requiresProx,
                boolean performsProxCheck,
                boolean immediatelyReRegister,
                @DevicePostureController.DevicePostureInt int posture
        ) {
            mSensors = sensors;