diff --git a/api/current.xml b/api/current.xml index 7acbccbad2239..92540b1f97155 100644 --- a/api/current.xml +++ b/api/current.xml @@ -23739,6 +23739,19 @@ + + + + null if the activity does not + * exist, or is not searchable. + */ + public SearchableInfo getSearchableInfo(ComponentName componentName) { + try { + return mService.getSearchableInfo(componentName, false); + } catch (RemoteException ex) { + Log.e(TAG, "getSearchableInfo() failed: " + ex); + return null; + } + } + + /** + * Gets information about a searchable activity. * * @param componentName The activity to get searchable information for. * @param globalSearch If false, return information about the given activity.