Skip to content

Commit fa6ca35

Browse files
Envoy-Z-LabDarkstar085
authored andcommittedAug 24, 2024
avicii: doze: Fix "wakeUpWithProximityCheck"
Logs: packages/apps/OPlusExtras/src/org/evolution/oplus/OPlusExtras/doze/PickupSensor.kt:41:30: error: unresolved reference: wakeUpWithProximityCheck powerManager.wakeUpWithProximityCheck( ^ Signed-off-by: S I P U N <sipunkumar85@gmail.com>
1 parent 3cb004b commit fa6ca35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎doze/src/org/lineageos/settings/doze/PickupSensor.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class PickupSensor(
3838
if (event.values[0] == sensorValue) {
3939
if (Utils.isPickUpSetToWake(context)) {
4040
wakeLock.acquire(WAKELOCK_TIMEOUT_MS)
41-
powerManager.wakeUpWithProximityCheck(
41+
powerManager.wakeUp(
4242
SystemClock.uptimeMillis(), PowerManager.WAKE_REASON_GESTURE, TAG
4343
)
4444
} else {

0 commit comments

Comments
 (0)
Please sign in to comment.