fix: only add QUERY_ALL_PACKAGES permission when useManager is true (#195)
This commit is contained in:
parent
e4657377b5
commit
3acc9086b1
|
|
@ -331,6 +331,7 @@ public class LSPatch {
|
|||
property.addApplicationAttribute(new AttributeItem("appComponentFactory", PROXY_APP_COMPONENT_FACTORY));
|
||||
property.addMetaData(new ModificationProperty.MetaData("lspatch", metadata));
|
||||
// TODO: replace query_all with queries -> manager
|
||||
if (useManager)
|
||||
property.addUsesPermission("android.permission.QUERY_ALL_PACKAGES");
|
||||
|
||||
var os = new ByteArrayOutputStream();
|
||||
|
|
|
|||
Loading…
Reference in New Issue