Tapl: AllApps: ensuring a minimal vertical size of an icon
Clicking an icon within its padding area is ignored by Launcher. Hence, ensuring that the whole icon is visible. Bug: 141770616 Change-Id: I19e3ba7cfa25de75a47202845d0838bea46af92c
This commit is contained in:
@@ -173,6 +173,12 @@ public class TestInformationHandler implements ResourceBasedOverride {
|
||||
mLeaks.add(new View(mContext));
|
||||
break;
|
||||
}
|
||||
|
||||
case TestProtocol.REQUEST_ICON_HEIGHT: {
|
||||
response.putInt(TestProtocol.TEST_INFO_RESPONSE_FIELD,
|
||||
mDeviceProfile.allAppsCellHeightPx);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return response;
|
||||
}
|
||||
|
||||
@@ -63,6 +63,8 @@ public final class TestProtocol {
|
||||
"all-apps-to-overview-swipe-height";
|
||||
public static final String REQUEST_HOME_TO_ALL_APPS_SWIPE_HEIGHT =
|
||||
"home-to-all-apps-swipe-height";
|
||||
public static final String REQUEST_ICON_HEIGHT =
|
||||
"icon-height";
|
||||
public static final String REQUEST_HOTSEAT_TOP = "hotseat-top";
|
||||
public static final String REQUEST_IS_LAUNCHER_INITIALIZED = "is-launcher-initialized";
|
||||
public static final String REQUEST_FREEZE_APP_LIST = "freeze-app-list";
|
||||
|
||||
Reference in New Issue
Block a user