Preload2: Fix object to sync on

When moving to sync on the right objects, these waits() have been
forgotten.

Change-Id: I61b0d3c5cc41b7f46fbdd3099ec44221e653001a
This commit is contained in:
Andreas Gampe
2016-02-19 09:24:43 -08:00
parent b97cfe8076
commit f2a9933fa7

View File

@@ -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.
}