Merge "Check if launcher has touch interaction service when registering touch events" into tm-dev

This commit is contained in:
Abhilasha Chahal
2022-05-06 21:58:36 +00:00
committed by Android (Google) Code Review
4 changed files with 22 additions and 4 deletions
@@ -198,6 +198,12 @@ public class TestInformationHandler implements ResourceBasedOverride {
return new Point(cellRect.centerX(), cellRect.centerY());
});
case TestProtocol.REQUEST_HAS_TIS: {
response.putBoolean(
TestProtocol.REQUEST_HAS_TIS, false);
return response;
}
default:
return null;
}
@@ -110,6 +110,7 @@ public final class TestProtocol {
public static final String REQUEST_GET_ACTIVITIES_CREATED_COUNT =
"get-activities-created-count";
public static final String REQUEST_GET_ACTIVITIES = "get-activities";
public static final String REQUEST_HAS_TIS = "has-touch-interaction-service";
public static final String REQUEST_WORKSPACE_CELL_LAYOUT_SIZE = "workspace-cell-layout-size";
public static final String REQUEST_WORKSPACE_CELL_CENTER = "workspace-cell-center";