Fixed that notifications could still get stuck
The waking up boolean wasn't properly unset Fixes: 129552328 Test: atest SystemITests Change-Id: Icc2ac8aab797d83c43e629be46b9022d530d13cc
This commit is contained in:
@@ -65,7 +65,7 @@ class NotificationWakeUpCoordinator @Inject constructor(
|
||||
private val mDozeParameters: DozeParameters;
|
||||
var willWakeUp = false
|
||||
set(value) {
|
||||
if (value && mDozeAmount != 0.0f) {
|
||||
if (!value || mDozeAmount != 0.0f) {
|
||||
field = value
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user