Merge "Fix incorrect trusted hotword metric" into tm-qpr-dev

This commit is contained in:
TreeHugger Robot
2022-11-22 11:58:11 +00:00
committed by Android (Google) Code Review

View File

@@ -620,7 +620,7 @@ class VoiceInteractionManagerServiceImpl implements VoiceInteractionSessionConne
private void logDetectorCreateEventIfNeeded(IHotwordRecognitionStatusCallback callback,
int detectorType, boolean isCreated, int voiceInteractionServiceUid) {
if (callback != null) {
HotwordMetricsLogger.writeDetectorCreateEvent(detectorType, true,
HotwordMetricsLogger.writeDetectorCreateEvent(detectorType, isCreated,
voiceInteractionServiceUid);
}