Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0a6ee9a authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "Disable language logging in TextClassifier/TranslateEvent" into...

Merge "Merge "Disable language logging in TextClassifier/TranslateEvent" into rvc-dev am: 934df624 am: 57c56e91" into rvc-d1-dev-plus-aosp
parents 84e1dded 8156fb25
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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)