summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Momtaz <amomtaz@google.com>2012-08-27 15:24:56 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-27 15:24:56 -0700
commit65d7dfd4f9343b1ca1e0e095d4703ca0dc4cd0b8 (patch)
treed4d0021f538dfdf5d12dedad585aa885df25805c
parent9377caefec3b4a738fde07e4c093a2cbee1b1bb6 (diff)
parent1a196a64bd0e9ffd81ea8b1bce42306c85c9d6e0 (diff)
downloadtesting-tools_r21.tar.gz
am 1a196a64: Logging clickAndWaitForNewWindowtools_r21
* commit '1a196a64bd0e9ffd81ea8b1bce42306c85c9d6e0': Logging clickAndWaitForNewWindow
-rw-r--r--uiautomator/library/src/com/android/uiautomator/core/InteractionController.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/uiautomator/library/src/com/android/uiautomator/core/InteractionController.java b/uiautomator/library/src/com/android/uiautomator/core/InteractionController.java
index ce14337..8e5176e 100644
--- a/uiautomator/library/src/com/android/uiautomator/core/InteractionController.java
+++ b/uiautomator/library/src/com/android/uiautomator/core/InteractionController.java
@@ -148,9 +148,8 @@ class InteractionController {
}
public boolean clickAndWaitForNewWindow(final int x, final int y, long timeout) {
- if (DEBUG) {
- Log.d(LOG_TAG, "click (" + x + ", " + y + ")");
- }
+ Log.d(LOG_TAG, "clickAndWaitForNewWindow (" + x + ", " + y + ")");
+
Runnable command = new Runnable() {
@Override
public void run() {