Merge "Merge "Disable language logging in TextClassifier/TranslateEvent" into rvc-dev am: 934df62467 am: 57c56e91d8" into rvc-d1-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
f0a6ee9ad7
@@ -971,7 +971,8 @@ public final class SelectionActionModeHelper {
|
||||
return new TextClassifierEvent.LanguageDetectionEvent.Builder(eventType)
|
||||
.setEventContext(classificationContext)
|
||||
.setResultId(classification.getId())
|
||||
.setEntityTypes(language)
|
||||
// b/158481016: Disable language logging.
|
||||
//.setEntityTypes(language)
|
||||
.setScores(score)
|
||||
.setActionIndices(classification.getActions().indexOf(translateAction))
|
||||
.setModelName(model)
|
||||
|
||||
Reference in New Issue
Block a user