mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Adding test protocol support for getting num all apps columns
Test: Presubmit Bug: 303257279 Flag: not needed Change-Id: I9c6299fb3ff077bc42ca22609d2ff0232377a370
This commit is contained in:
@@ -165,6 +165,11 @@ public class TestInformationHandler implements ResourceBasedOverride {
|
||||
response.putBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD, mDeviceProfile.isTablet);
|
||||
return response;
|
||||
|
||||
case TestProtocol.REQUEST_NUM_ALL_APPS_COLUMNS:
|
||||
response.putInt(TestProtocol.TEST_INFO_RESPONSE_FIELD,
|
||||
mDeviceProfile.numShownAllAppsColumns);
|
||||
return response;
|
||||
|
||||
case TestProtocol.REQUEST_IS_TWO_PANELS:
|
||||
response.putBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD,
|
||||
FOLDABLE_SINGLE_PAGE.get() ? false : mDeviceProfile.isTwoPanels);
|
||||
|
||||
Reference in New Issue
Block a user