Reading navigation_bar_gesture_height for bottom swipe region

Bug: 132917885
Change-Id: I39d266fc34a69c3ba50246b5a66350942a85becb
This commit is contained in:
Sunny Goyal
2019-05-22 14:52:37 -07:00
parent a338daa261
commit f5d02b069a
5 changed files with 8 additions and 17 deletions

View File

@@ -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;