Fix add shortcut (#1196)
This commit is contained in:
parent
7f247bd38f
commit
047113ddaf
|
|
@ -177,8 +177,8 @@ public class LSPManagerService extends ILSPManagerService.Stub {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (intent != null && intent.getCategories() != null) {
|
||||
intent.getCategories().clear();
|
||||
if (intent != null) {
|
||||
if (intent.getCategories() != null) intent.getCategories().clear();
|
||||
intent.addCategory("org.lsposed.manager.LAUNCH_MANAGER");
|
||||
intent.setPackage(BuildConfig.MANAGER_INJECTED_PKG_NAME);
|
||||
managerIntent = (Intent) intent.clone();
|
||||
|
|
|
|||
Loading…
Reference in New Issue