Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 570f3b18 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add java doc for registerVisibleActivityCallback method." into...

Merge "Add java doc for registerVisibleActivityCallback method." into sc-v2-dev am: 786af488 am: ddfc23c7

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16036450

Change-Id: I24ceeb05c8a47563e208fa0d46c4e60a6ee1c258
parents b1d40851 ddfc23c7
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2044,7 +2044,11 @@ public class VoiceInteractionSession implements KeyEvent.Callback, ComponentCall
    /**
     * Registers a callback that will be notified when visible activities have been changed.
     *
     * @param executor The handler to receive the callback.
     * Note: The {@link VisibleActivityCallback#onVisible(VisibleActivityInfo)} will be called
     * immediately with current visible activities when the callback is registered for the first
     * time. If the callback is already registered, this method does nothing.
     *
     * @param executor The executor which will be used to invoke the callback.
     * @param callback The callback to receive the response.
     *
     * @throws IllegalStateException if calling this method before onCreate().