Merge "TCMS should bind the TCS when onSelectionEvent/onTextClassifierEvent ... is called" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-05-05 09:14:52 +00:00
committed by Android (Google) Code Review

View File

@@ -241,7 +241,7 @@ public final class TextClassificationManagerService extends ITextClassifierServi
handleRequest(
event.getSystemTextClassifierMetadata(),
/* verifyCallingPackage= */ true,
/* attemptToBind= */ false,
/* attemptToBind= */ true,
service -> service.onSelectionEvent(sessionId, event),
"onSelectionEvent",
NO_OP_CALLBACK);
@@ -260,7 +260,7 @@ public final class TextClassificationManagerService extends ITextClassifierServi
handleRequest(
systemTcMetadata,
/* verifyCallingPackage= */ true,
/* attemptToBind= */ false,
/* attemptToBind= */ true,
service -> service.onTextClassifierEvent(sessionId, event),
"onTextClassifierEvent",
NO_OP_CALLBACK);