How to hide an app from drawer topic

SOCIALIZE IT ⇨

Hey,
is there a way to hide an app to the default launcher of the device, but not to xposed? I tried this:

Code:


PackageManager packageManager = getPackageManager();
                        ComponentName componentName = new ComponentName(this,
                                        SettingsActivity.class);
                        packageManager.setComponentEnabledSetting(componentName, PackageManager.COMPONENT_ENABLED_STATE_DISABLED,
                                        PackageManager.DONT_KILL_APP);


But then it seems like the module hasn't an UI (for xposed).
How can I solve?

xda-developers


0 commentaires:

Enregistrer un commentaire