Make SearchManager.getGlobalSearchActivity() public but hidden

Launcher/Launcher2 will need this to find the search appwidget
provider.

Change-Id: I2789ea5a11f168126d798a763983752442a6a80b
This commit is contained in:
Bjorn Bringert
2010-01-14 14:56:18 +00:00
parent f6fff20a96
commit 38015f3663

View File

@@ -1838,8 +1838,10 @@ public class SearchManager
*
* TODO: Doing this every time we start global search is inefficient. Will fix that once
* we have settled on the right mechanism for finding the global search activity.
*
* @hide
*/
private ComponentName getGlobalSearchActivity() {
public ComponentName getGlobalSearchActivity() {
Intent intent = new Intent(INTENT_ACTION_GLOBAL_SEARCH);
PackageManager pm = mContext.getPackageManager();
List<ResolveInfo> activities =