Do not register lift when sensor is not present
am: 0a410d3a6c
Change-Id: I4dd5483a7ef208eb65a1690ed6c5182923ccd02e
This commit is contained in:
@@ -67,6 +67,9 @@ class KeyguardLiftController constructor(
|
||||
}
|
||||
|
||||
private fun updateListeningState() {
|
||||
if (pickupSensor == null) {
|
||||
return
|
||||
}
|
||||
val onKeyguard = keyguardUpdateMonitor.isKeyguardVisible &&
|
||||
!statusBarStateController.isDozing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user