Merge "Update javadoc for SearchManager api on TV."

This commit is contained in:
Leif Wilden
2018-03-01 19:23:31 +00:00
committed by Android (Google) Code Review

View File

@@ -33,7 +33,6 @@ import android.os.Handler;
import android.os.RemoteException;
import android.os.ServiceManager;
import android.os.ServiceManager.ServiceNotFoundException;
import android.os.UserHandle;
import android.text.TextUtils;
import android.util.Log;
import android.view.KeyEvent;
@@ -752,6 +751,8 @@ public class SearchManager
*
* <p>This function can be safely called at any time (even if no search is active.)
*
* <p>{@link Configuration#UI_MODE_TYPE_TELEVISION} does not support this method.
*
* @see #startSearch
*/
public void stopSearch() {
@@ -802,6 +803,8 @@ public class SearchManager
/**
* Set or clear the callback that will be invoked whenever the search UI is dismissed.
*
* <p>{@link Configuration#UI_MODE_TYPE_TELEVISION} does not support this method.
*
* @param listener The {@link OnDismissListener} to use, or null.
*/
public void setOnDismissListener(final OnDismissListener listener) {
@@ -811,6 +814,8 @@ public class SearchManager
/**
* Set or clear the callback that will be invoked whenever the search UI is canceled.
*
* <p>{@link Configuration#UI_MODE_TYPE_TELEVISION} does not support this method.
*
* @param listener The {@link OnCancelListener} to use, or null.
*/
public void setOnCancelListener(OnCancelListener listener) {