Merge "Add IDs to buttons in 3 button nav for Taskbar" into sc-v2-dev

This commit is contained in:
Vinit Nayak
2021-06-19 05:51:57 +00:00
committed by Android (Google) Code Review
8 changed files with 58 additions and 18 deletions
@@ -117,6 +117,10 @@ public class TestInformationHandler implements ResourceBasedOverride {
TestProtocol.sDisableSensorRotation = true;
return response;
case TestProtocol.REQUEST_IS_TABLET:
response.putBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD, mDeviceProfile.isTablet);
return response;
default:
return null;
}
@@ -94,6 +94,7 @@ public final class TestProtocol {
public static final String REQUEST_GET_TEST_EVENTS = "get-test-events";
public static final String REQUEST_STOP_EVENT_LOGGING = "stop-event-logging";
public static final String REQUEST_CLEAR_DATA = "clear-data";
public static final String REQUEST_IS_TABLET = "is-tablet";
public static boolean sDebugTracing = false;
public static final String REQUEST_ENABLE_DEBUG_TRACING = "enable-debug-tracing";