Loading core/api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -39504,7 +39504,7 @@ package android.speech { method public void onCheckRecognitionSupport(@NonNull android.content.Intent, @NonNull android.speech.RecognitionService.SupportCallback); method protected abstract void onStartListening(android.content.Intent, android.speech.RecognitionService.Callback); method protected abstract void onStopListening(android.speech.RecognitionService.Callback); method public void triggerModelDownload(@NonNull android.content.Intent); method public void onTriggerModelDownload(@NonNull android.content.Intent); field public static final String SERVICE_INTERFACE = "android.speech.RecognitionService"; field public static final String SERVICE_META_DATA = "android.speech"; } core/java/android/speech/RecognitionService.java +2 −2 Original line number Diff line number Diff line Loading @@ -199,7 +199,7 @@ public abstract class RecognitionService extends Service { } private void dispatchTriggerModelDownload(Intent intent) { RecognitionService.this.triggerModelDownload(intent); RecognitionService.this.onTriggerModelDownload(intent); } private class StartListeningArgs { Loading Loading @@ -283,7 +283,7 @@ public abstract class RecognitionService extends Service { /** * Requests the download of the recognizer support for {@code recognizerIntent}. */ public void triggerModelDownload(@NonNull Intent recognizerIntent) { public void onTriggerModelDownload(@NonNull Intent recognizerIntent) { if (DBG) { Log.i(TAG, String.format("#downloadModel [%s]", recognizerIntent)); } Loading Loading
core/api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -39504,7 +39504,7 @@ package android.speech { method public void onCheckRecognitionSupport(@NonNull android.content.Intent, @NonNull android.speech.RecognitionService.SupportCallback); method protected abstract void onStartListening(android.content.Intent, android.speech.RecognitionService.Callback); method protected abstract void onStopListening(android.speech.RecognitionService.Callback); method public void triggerModelDownload(@NonNull android.content.Intent); method public void onTriggerModelDownload(@NonNull android.content.Intent); field public static final String SERVICE_INTERFACE = "android.speech.RecognitionService"; field public static final String SERVICE_META_DATA = "android.speech"; }
core/java/android/speech/RecognitionService.java +2 −2 Original line number Diff line number Diff line Loading @@ -199,7 +199,7 @@ public abstract class RecognitionService extends Service { } private void dispatchTriggerModelDownload(Intent intent) { RecognitionService.this.triggerModelDownload(intent); RecognitionService.this.onTriggerModelDownload(intent); } private class StartListeningArgs { Loading Loading @@ -283,7 +283,7 @@ public abstract class RecognitionService extends Service { /** * Requests the download of the recognizer support for {@code recognizerIntent}. */ public void triggerModelDownload(@NonNull Intent recognizerIntent) { public void onTriggerModelDownload(@NonNull Intent recognizerIntent) { if (DBG) { Log.i(TAG, String.format("#downloadModel [%s]", recognizerIntent)); } Loading