Fix incorrect trusted hotword metric
It doesn't pass the right value into trusted hotword
metrics when creating trusted hotword detector.
Test: Build pass
Bug: 259212509
Change-Id: I5ab23ccc88c0c1221a2b2843f90f787346df41b7
(cherry picked from commit 550ff9e292)
Merged-In: I5ab23ccc88c0c1221a2b2843f90f787346df41b7
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user