Merge "Fixed that notifications could still get stuck" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-05-29 00:18:44 +00:00
committed by Android (Google) Code Review

View File

@@ -65,7 +65,7 @@ class NotificationWakeUpCoordinator @Inject constructor(
private val mDozeParameters: DozeParameters; private val mDozeParameters: DozeParameters;
var willWakeUp = false var willWakeUp = false
set(value) { set(value) {
if (value && mDozeAmount != 0.0f) { if (!value || mDozeAmount != 0.0f) {
field = value field = value
} }
} }