Merge "Skips checking for overview actions when grid only overview flag is enabled." into udc-qpr-dev

This commit is contained in:
Treehugger Robot
2023-08-17 23:12:08 +00:00
committed by Android (Google) Code Review
4 changed files with 20 additions and 3 deletions

View File

@@ -16,6 +16,7 @@
package com.android.launcher3.testing;
import static com.android.launcher3.allapps.AllAppsStore.DEFER_UPDATES_TEST;
import static com.android.launcher3.config.FeatureFlags.ENABLE_GRID_ONLY_OVERVIEW;
import static com.android.launcher3.config.FeatureFlags.ENABLE_TRACKPAD_GESTURE;
import static com.android.launcher3.config.FeatureFlags.FOLDABLE_SINGLE_PAGE;
import static com.android.launcher3.util.Executors.MAIN_EXECUTOR;
@@ -253,6 +254,12 @@ public class TestInformationHandler implements ResourceBasedOverride {
+ l.getAppsView().getActiveRecyclerView().getPaddingBottom());
}
case TestProtocol.REQUEST_FLAG_ENABLE_GRID_ONLY_OVERVIEW: {
response.putBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD,
ENABLE_GRID_ONLY_OVERVIEW.get());
return response;
}
default:
return null;
}