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

Commit 42fa8b17 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix incorrect trusted hotword metric"

parents 6685481d 550ff9e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -639,7 +639,7 @@ class VoiceInteractionManagerServiceImpl implements VoiceInteractionSessionConne
    private void logDetectorCreateEventIfNeeded(IHotwordRecognitionStatusCallback callback,
    private void logDetectorCreateEventIfNeeded(IHotwordRecognitionStatusCallback callback,
            int detectorType, boolean isCreated, int voiceInteractionServiceUid) {
            int detectorType, boolean isCreated, int voiceInteractionServiceUid) {
        if (callback != null) {
        if (callback != null) {
            HotwordMetricsLogger.writeDetectorCreateEvent(detectorType, true,
            HotwordMetricsLogger.writeDetectorCreateEvent(detectorType, isCreated,
                    voiceInteractionServiceUid);
                    voiceInteractionServiceUid);
        }
        }