Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only supports a hard-coded list of icon packs #1

Open
RobinJ1995 opened this issue Dec 8, 2018 · 0 comments
Open

Only supports a hard-coded list of icon packs #1

RobinJ1995 opened this issue Dec 8, 2018 · 0 comments

Comments

@RobinJ1995
Copy link

    static HashSet<ResolveInfo> getResolveInfos(PackageManager pm) {
        HashSet<ResolveInfo> rinfo = new HashSet<ResolveInfo>();
        rinfo.addAll(pm.queryIntentActivities(new Intent("org.adw.launcher.THEMES"), PackageManager.GET_META_DATA));
        rinfo.addAll(pm.queryIntentActivities(new Intent("com.gau.go.launcherex.theme"), PackageManager.GET_META_DATA));
        rinfo.addAll(pm.queryIntentActivities(new Intent("mobi.bbase.ahome.THEME"), PackageManager.GET_META_DATA));
        rinfo.addAll(pm.queryIntentActivities(new Intent("com.rogro.GDE.THEME.1"), PackageManager.GET_META_DATA));
        rinfo.addAll(pm.queryIntentActivities(new Intent("com.android.dxtop.launcher.THEME"), PackageManager.GET_META_DATA));
        rinfo.addAll(pm.queryIntentActivities(new Intent("com.fede.launcher.THEME_ICONPACK"), PackageManager.GET_META_DATA));
        return rinfo;
    }

These are al the icon packs that are supported. They're a hard-coded list. This severely limits the usefulness of this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant