summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--services/java/com/android/server/WindowManagerService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/java/com/android/server/WindowManagerService.java b/services/java/com/android/server/WindowManagerService.java
index d8c8cae..7d0898b 100644
--- a/services/java/com/android/server/WindowManagerService.java
+++ b/services/java/com/android/server/WindowManagerService.java
@@ -5800,6 +5800,8 @@ public class WindowManagerService extends IWindowManager.Stub
// timeout checks from now; otherwise look at whether we timed
// out before awakening.
if (mWasFrozen) {
+ // Set startTime to the current time in addition to setting waitedFor to zero.
+ startTime = SystemClock.uptimeMillis();
waitedFor = 0;
mWasFrozen = false;
} else {