mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
Using different resource size for touch region in landscape
Bug: 132917885 Change-Id: Ib702fd17fecff980db2e1d00f05cd055bcc3185a
This commit is contained in:
@@ -243,7 +243,7 @@ public abstract class AbstractLauncherUiTest {
|
||||
*/
|
||||
protected UiObject2 scrollAndFind(UiObject2 container, BySelector condition) {
|
||||
final int margin = ResourceUtils.getNavbarSize(
|
||||
ResourceUtils.NAVBAR_VERTICAL_SIZE, mLauncher.getResources()) + 1;
|
||||
ResourceUtils.NAVBAR_PORTRAIT_BOTTOM_SIZE, mLauncher.getResources()) + 1;
|
||||
container.setGestureMargins(0, 0, 0, margin);
|
||||
|
||||
int i = 0;
|
||||
|
||||
Reference in New Issue
Block a user