Guard taskbar / navbar unification logic with whether the device is a phone on top of the flag
Test: Rerun the tapl tests Bug: 325162802 Change-Id: Iffeeb0a60b634e66bc80e4ba45db816cdc8ba564
This commit is contained in:
1 parent
772e0127c3
commit
89f72882ce
4 files changed
+29
-2
No files matched your search
@@ -17,6 +17,7 @@ package com.android.launcher3.testing;
|
||||
|
||||
import static com.android.launcher3.Flags.enableGridOnlyOverview;
|
||||
import static com.android.launcher3.allapps.AllAppsStore.DEFER_UPDATES_TEST;
|
||||
import static com.android.launcher3.config.FeatureFlags.ENABLE_TASKBAR_NAVBAR_UNIFICATION;
|
||||
import static com.android.launcher3.config.FeatureFlags.FOLDABLE_SINGLE_PAGE;
|
||||
import static com.android.launcher3.config.FeatureFlags.enableSplitContextually;
|
||||
import static com.android.launcher3.testing.shared.TestProtocol.TEST_INFO_RESPONSE_FIELD;
|
||||
@@ -182,6 +183,11 @@ public class TestInformationHandler implements ResourceBasedOverride {
|
||||
response.putBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD, mDeviceProfile.isTablet);
|
||||
return response;
|
||||
|
||||
case TestProtocol.REQUEST_ENABLE_TASKBAR_NAVBAR_UNIFICATION:
|
||||
response.putBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD,
|
||||
ENABLE_TASKBAR_NAVBAR_UNIFICATION);
|
||||
return response;
|
||||
|
||||
case TestProtocol.REQUEST_NUM_ALL_APPS_COLUMNS:
|
||||
response.putInt(TestProtocol.TEST_INFO_RESPONSE_FIELD,
|
||||
mDeviceProfile.numShownAllAppsColumns);
|
||||
|
||||
Reference in new issue
Block a user