diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index 2eb09020b4288..dc52c52cca1fb 100644 --- a/core/java/android/app/Activity.java +++ b/core/java/android/app/Activity.java @@ -2330,7 +2330,7 @@ public class Activity extends ContextThemeWrapper * calling {@link VoiceInteractor#notifyDirectActionsChanged()}. * *
To get the voice interactor you need to call {@link #getVoiceInteractor()}
- * which would return non You should pass to the callback the currently supported direct actions which
- * cannot be You should return the action list as soon as possible to ensure the consumer,
* for example the assistant, is as responsive as possible which would improve user
nullnull only if there is an ongoing voice
* interaction session. You an also detect when the voice interactor is no
* longer valid because the voice interaction session that is backing is finished
* by calling {@link VoiceInteractor#registerOnDestroyedCallback(Executor, Runnable)}.
@@ -2339,7 +2339,7 @@ public class Activity extends ContextThemeWrapper
* before {@link #onStop()} is being called.
*
* null or contain null elements.
+ * cannot be null or contain null elements.
*
*