Loading services/voiceinteraction/java/com/android/server/voiceinteraction/HotwordDetectionConnection.java +9 −3 Original line number Diff line number Diff line Loading @@ -445,9 +445,15 @@ final class HotwordDetectionConnection { // Recreate connection to reset the cache. mRestartCount++; mRemoteHotwordDetectionService = mHotwordDetectionServiceConnectionFactory.createLocked(); if (oldHotwordConnection != null) { mRemoteHotwordDetectionService = mHotwordDetectionServiceConnectionFactory.createLocked(); } if (oldVisualQueryDetectionConnection != null) { mRemoteVisualQueryDetectionService = mVisualQueryDetectionServiceConnectionFactory.createLocked(); } Slog.v(TAG, "Started the new process, dispatching processRestarted to detector"); runForEachDetectorSessionLocked((session) -> { Loading Loading
services/voiceinteraction/java/com/android/server/voiceinteraction/HotwordDetectionConnection.java +9 −3 Original line number Diff line number Diff line Loading @@ -445,9 +445,15 @@ final class HotwordDetectionConnection { // Recreate connection to reset the cache. mRestartCount++; mRemoteHotwordDetectionService = mHotwordDetectionServiceConnectionFactory.createLocked(); if (oldHotwordConnection != null) { mRemoteHotwordDetectionService = mHotwordDetectionServiceConnectionFactory.createLocked(); } if (oldVisualQueryDetectionConnection != null) { mRemoteVisualQueryDetectionService = mVisualQueryDetectionServiceConnectionFactory.createLocked(); } Slog.v(TAG, "Started the new process, dispatching processRestarted to detector"); runForEachDetectorSessionLocked((session) -> { Loading