Loading services/java/com/android/server/Watchdog.java +2 −4 Original line number Diff line number Diff line Loading @@ -386,13 +386,11 @@ public class Watchdog extends Thread { public void run() { boolean waitedHalf = false; while (true) { mCompleted = false; mHandler.sendEmptyMessage(MONITOR); final String name; synchronized (this) { long timeout = TIME_TO_WAIT; mCompleted = false; mHandler.sendEmptyMessage(MONITOR); // NOTE: We use uptimeMillis() here because we do not want to increment the time we // wait while asleep. If the device is asleep then the thing that we are waiting Loading Loading
services/java/com/android/server/Watchdog.java +2 −4 Original line number Diff line number Diff line Loading @@ -386,13 +386,11 @@ public class Watchdog extends Thread { public void run() { boolean waitedHalf = false; while (true) { mCompleted = false; mHandler.sendEmptyMessage(MONITOR); final String name; synchronized (this) { long timeout = TIME_TO_WAIT; mCompleted = false; mHandler.sendEmptyMessage(MONITOR); // NOTE: We use uptimeMillis() here because we do not want to increment the time we // wait while asleep. If the device is asleep then the thing that we are waiting Loading