Merge "TCMS should bind the TCS when onSelectionEvent/onTextClassifierEvent ... is called" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3ce121363b
@@ -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