Merge "Add test to check swiping from app to overview without unstashing taskbar." into main

This commit is contained in:
Pat Manning authored and Android (Google) Code Review committed 2023-09-18 15:39:23 +00:00
commit 9ea209b893
3 files changed
+18 -6

No files matched your search

@@ -44,9 +44,7 @@ public class QuickstepTestInformationHandler extends TestInformationHandler {
}
case TestProtocol.REQUEST_BACKGROUND_TO_OVERVIEW_SWIPE_HEIGHT: {
final float swipeHeight =
LayoutUtils.getShelfTrackingDistance(mContext, mDeviceProfile,
PagedOrientationHandler.PORTRAIT);
final float swipeHeight = mDeviceProfile.heightPx / 2f;
response.putInt(TestProtocol.TEST_INFO_RESPONSE_FIELD, (int) swipeHeight);
return response;
}