Moving all configs from overrides.xml to config.xml
> Removing some used configs > Moving ids to id.xml Bug: 330920490 Flag: None Test: Presubmit Change-Id: I86bd22db49a3980c55f5d42350a7c6368fa86d21
This commit is contained in:
1 parent
e0330e17e3
commit
bd07c05446
5 files changed
+57
-126
No files matched your search
@@ -48,7 +48,6 @@ import com.android.launcher3.model.data.LauncherAppWidgetInfo;
|
||||
import com.android.launcher3.model.data.WorkspaceItemInfo;
|
||||
import com.android.launcher3.uioverrides.ApiWrapper;
|
||||
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
@@ -166,22 +165,6 @@ public class PackageManagerHelper {
|
||||
return (info.flags & ApplicationInfo.FLAG_SUSPENDED) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new market search intent.
|
||||
*/
|
||||
public static Intent getMarketSearchIntent(Context context, String query) {
|
||||
try {
|
||||
Intent intent = Intent.parseUri(context.getString(R.string.market_search_intent), 0);
|
||||
if (!TextUtils.isEmpty(query)) {
|
||||
intent.setData(
|
||||
intent.getData().buildUpon().appendQueryParameter("q", query).build());
|
||||
}
|
||||
return intent;
|
||||
} catch (URISyntaxException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts the details activity for {@code info}
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user