summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2019-05-22 14:52:37 -0700
committerSunny Goyal <sunnygoyal@google.com>2019-05-23 10:42:24 -0700
commitf5d02b069a28e759dd3484ef2e807f32fe53516f (patch)
treee9f490e621dd3452aee876b6ca8314f925a57eab /tests/src/com/android
parenta338daa26114554c4bdc3b27d12c5bd62f3db3c2 (diff)
downloadandroid_packages_apps_Trebuchet-f5d02b069a28e759dd3484ef2e807f32fe53516f.tar.gz
android_packages_apps_Trebuchet-f5d02b069a28e759dd3484ef2e807f32fe53516f.tar.bz2
android_packages_apps_Trebuchet-f5d02b069a28e759dd3484ef2e807f32fe53516f.zip
Reading navigation_bar_gesture_height for bottom swipe region
Bug: 132917885 Change-Id: I39d266fc34a69c3ba50246b5a66350942a85becb
Diffstat (limited to 'tests/src/com/android')
-rw-r--r--tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java b/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java
index 74cece836..b4355ae15 100644
--- a/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java
+++ b/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java
@@ -243,7 +243,7 @@ public abstract class AbstractLauncherUiTest {
*/
protected UiObject2 scrollAndFind(UiObject2 container, BySelector condition) {
final int margin = ResourceUtils.getNavbarSize(
- ResourceUtils.NAVBAR_PORTRAIT_BOTTOM_SIZE, mLauncher.getResources()) + 1;
+ ResourceUtils.NAVBAR_BOTTOM_GESTURE_SIZE, mLauncher.getResources()) + 1;
container.setGestureMargins(0, 0, 0, margin);
int i = 0;