diff options
author | Siva Velusamy <vsiva@google.com> | 2012-10-10 16:11:58 -0700 |
---|---|---|
committer | Siva Velusamy <vsiva@google.com> | 2012-10-10 16:12:36 -0700 |
commit | 2111c03fbfe4566e14337fdb6470d119a249ffee (patch) | |
tree | 3e108c76a0a122c1e3b4f62297ce89b21ab3e2f3 /uiautomatorviewer/src | |
parent | fd0378d1cf71da55a49a50097ac522e0c84060af (diff) | |
download | sdk-2111c03fbfe4566e14337fdb6470d119a249ffee.zip sdk-2111c03fbfe4566e14337fdb6470d119a249ffee.tar.gz sdk-2111c03fbfe4566e14337fdb6470d119a249ffee.tar.bz2 |
uiautomator: Display root cause of exception if possible.
Also increased timeout since it seems to take a while longer
on the first attempt.
Change-Id: Ib005408f428dd083cc058a8594d4f6d55a0eead6
Diffstat (limited to 'uiautomatorviewer/src')
-rw-r--r-- | uiautomatorviewer/src/com/android/uiautomator/UiAutomatorHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uiautomatorviewer/src/com/android/uiautomator/UiAutomatorHelper.java b/uiautomatorviewer/src/com/android/uiautomator/UiAutomatorHelper.java index 6e51ad8..6011fed 100644 --- a/uiautomatorviewer/src/com/android/uiautomator/UiAutomatorHelper.java +++ b/uiautomatorviewer/src/com/android/uiautomator/UiAutomatorHelper.java @@ -80,7 +80,7 @@ public class UiAutomatorHelper { try { device.executeShellCommand(command, new CollectingOutputReceiver(commandCompleteLatch)); - commandCompleteLatch.await(20, TimeUnit.SECONDS); + commandCompleteLatch.await(40, TimeUnit.SECONDS); monitor.subTask("Pull UI XML snapshot from device..."); device.getSyncService().pullFile(UIDUMP_DEVICE_PATH, |