Loading services/voiceinteraction/java/com/android/server/voiceinteraction/HotwordDetectionConnection.java +11 −0 Original line number Diff line number Diff line Loading @@ -131,6 +131,17 @@ final class HotwordDetectionConnection { protected long getAutoDisconnectTimeoutMs() { return -1; } @Override public void binderDied() { super.binderDied(); Slog.w(TAG, "binderDied"); try { callback.onError(-1); } catch (RemoteException e) { Slog.w(TAG, "Failed to report onError status: " + e); } } }; mRemoteHotwordDetectionService.connect(); if (callback == null) { Loading Loading
services/voiceinteraction/java/com/android/server/voiceinteraction/HotwordDetectionConnection.java +11 −0 Original line number Diff line number Diff line Loading @@ -131,6 +131,17 @@ final class HotwordDetectionConnection { protected long getAutoDisconnectTimeoutMs() { return -1; } @Override public void binderDied() { super.binderDied(); Slog.w(TAG, "binderDied"); try { callback.onError(-1); } catch (RemoteException e) { Slog.w(TAG, "Failed to report onError status: " + e); } } }; mRemoteHotwordDetectionService.connect(); if (callback == null) { Loading