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:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user