Merge "TCMS should bind the TCS when onSelectionEvent/onTextClassifierEvent ... is called" into rvc-dev am: 3ce121363b am: 018aeb42d4

Change-Id: Ifa85744f235946af2d5df86b060f47a5ed19fd82
This commit is contained in:
TreeHugger Robot
2020-05-05 09:48:45 +00:00
committed by Automerger Merge Worker

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);