Skip to content

Commit 7cd3abc

Browse files
luk1337aswin7469
authored andcommitted
SystemUI: Don't require AOD for screen off UDFPS
Change-Id: I47eceb1e99146c6793f9bd4e3b86d4f6878a11eb
1 parent e979a40 commit 7cd3abc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/SystemUI/src/com/android/systemui/doze/DozeSensors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public int getId() {
246246
false /* ignoresSetting */,
247247
dozeParameters.longPressUsesProx(),
248248
false /* immediatelyReRegister */,
249-
true /* requiresAod */
249+
!mScreenOffUdfpsEnabled /* requiresAod */
250250
),
251251
new PluginSensor(
252252
new SensorManagerPlugin.Sensor(TYPE_WAKE_DISPLAY),

0 commit comments

Comments
 (0)