Merge "TCMS should bind the TCS when onSelectionEvent/onTextClassifierEvent ... is called" into rvc-dev am: 3ce121363b am: 018aeb42d4 am: 3fe4c92e0d
Change-Id: Ibc0cb7ead6e313037676cb588a14cdaff8e56f8f
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user