aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJake Slack <jaslack@google.com>2014-05-13 13:00:51 -0700
committerJake Slack <jaslack@google.com>2014-05-13 13:36:45 -0700
commit18e55387b4fc6b062d8630dd100be0cb58b03693 (patch)
treee40fa6f5c63779d3dd6533035887c4c4eb17a259 /src
parent46cbd1ba6301e660d32bed661bd65994d4911c4e (diff)
downloaddroiddriver-18e55387b4fc6b062d8630dd100be0cb58b03693.tar.gz
Simplify scroll call in doScroll.
Change-Id: I0d64f9f5aaade6a14143d924a4357412fb5e3adf
Diffstat (limited to 'src')
-rw-r--r--src/com/google/android/droiddriver/scroll/AccessibilityEventScrollStepStrategy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/google/android/droiddriver/scroll/AccessibilityEventScrollStepStrategy.java b/src/com/google/android/droiddriver/scroll/AccessibilityEventScrollStepStrategy.java
index 5b8f0f3..2406ef8 100644
--- a/src/com/google/android/droiddriver/scroll/AccessibilityEventScrollStepStrategy.java
+++ b/src/com/google/android/droiddriver/scroll/AccessibilityEventScrollStepStrategy.java
@@ -194,7 +194,7 @@ public class AccessibilityEventScrollStepStrategy implements ScrollStepStrategy
@Override
public void doScroll(final UiElement container, final PhysicalDirection direction) {
- SwipeAction.toScroll(direction).perform(container.getInjector(), container);
+ container.scroll(direction);
}
/**