diff options
| author | 2016-02-19 09:24:43 -0800 | |
|---|---|---|
| committer | 2016-02-19 09:24:43 -0800 | |
| commit | f2a9933fa7082daf97d8290c0f9d001ba63b62aa (patch) | |
| tree | f630ae78bac7eb0ce9f0e572e37c45321b326936 | |
| parent | b97cfe8076c903ab32f4e4cf1c2646817cbd5dc5 (diff) | |
Preload2: Fix object to sync on
When moving to sync on the right objects, these waits() have been
forgotten.
Change-Id: I61b0d3c5cc41b7f46fbdd3099ec44221e653001a
| -rw-r--r-- | tools/preload2/src/com/android/preload/DeviceUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/preload2/src/com/android/preload/DeviceUtils.java b/tools/preload2/src/com/android/preload/DeviceUtils.java index 72de7b58b0a7..803a7f195a59 100644 --- a/tools/preload2/src/com/android/preload/DeviceUtils.java +++ b/tools/preload2/src/com/android/preload/DeviceUtils.java @@ -285,7 +285,7 @@ public class DeviceUtils { if (device == null) { try { - wait(timeout); + wfdl.wait(timeout); } catch (InterruptedException e) { // Ignore spurious wakeups. } @@ -304,7 +304,7 @@ public class DeviceUtils { if (!device.hasClients()) { try { - wait(timeout); + wfcl.wait(timeout); } catch (InterruptedException e) { // Ignore spurious wakeups. } |