Use DeviceProfile.isTwoPanels for two panels expectation in tests

Fix: 193810767
Test: TaplTestsLauncher3.testWorkspace
Change-Id: Ifec5506415b79f3effa84fe0163eb1bb2bc7cc8d
This commit is contained in:
Alex Chau
2021-07-16 15:14:34 +00:00
parent c0fe7b1cc4
commit 0686931b68
5 changed files with 13 additions and 2 deletions
@@ -121,6 +121,11 @@ public class TestInformationHandler implements ResourceBasedOverride {
response.putBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD, mDeviceProfile.isTablet);
return response;
case TestProtocol.REQUEST_IS_TWO_PANELS:
response.putBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD,
mDeviceProfile.isTwoPanels);
return response;
default:
return null;
}