Loading services/core/java/com/android/server/search/Searchables.java +4 −2 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import android.app.AppGlobals; import android.app.SearchManager; import android.app.SearchableInfo; import android.content.ComponentName; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; Loading Loading @@ -397,8 +398,9 @@ public class Searchables { } private String getGlobalSearchProviderSetting() { return Settings.Secure.getString(mContext.getContentResolver(), Settings.Secure.SEARCH_GLOBAL_SEARCH_ACTIVITY); final ContentResolver cr = mContext.getContentResolver(); return Settings.Secure.getStringForUser(cr, Settings.Secure.SEARCH_GLOBAL_SEARCH_ACTIVITY, cr.getUserId()); } /** Loading Loading
services/core/java/com/android/server/search/Searchables.java +4 −2 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import android.app.AppGlobals; import android.app.SearchManager; import android.app.SearchableInfo; import android.content.ComponentName; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; Loading Loading @@ -397,8 +398,9 @@ public class Searchables { } private String getGlobalSearchProviderSetting() { return Settings.Secure.getString(mContext.getContentResolver(), Settings.Secure.SEARCH_GLOBAL_SEARCH_ACTIVITY); final ContentResolver cr = mContext.getContentResolver(); return Settings.Secure.getStringForUser(cr, Settings.Secure.SEARCH_GLOBAL_SEARCH_ACTIVITY, cr.getUserId()); } /** Loading