LOCAL_MODULE_TAGS := optional
-LOCAL_STATIC_JAVA_LIBRARIES := gsf-client
+LOCAL_STATIC_JAVA_LIBRARIES := \
+ android-common \
+ gsf-client
LOCAL_SRC_FILES := \
$(call all-subdir-java-files) \
import android.accounts.AccountManagerCallback;
import com.android.common.Patterns;
+import com.android.common.Search;
import com.android.common.speech.LoggingEvents;
import com.google.android.gsf.GoogleLoginServiceConstants;
String source = null;
final Bundle appData = intent.getBundleExtra(SearchManager.APP_DATA);
if (appData != null) {
- source = appData.getString(SearchManager.SOURCE);
+ source = appData.getString(Search.SOURCE);
}
if (TextUtils.isEmpty(source)) {
source = GOOGLE_SEARCH_SOURCE_UNKNOWN;
private Bundle createGoogleSearchSourceBundle(String source) {
Bundle bundle = new Bundle();
- bundle.putString(SearchManager.SOURCE, source);
+ bundle.putString(Search.SOURCE, source);
return bundle;
}