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
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user