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

Check out "Mobile Legends: Bang Bang" #417

Open
jeyms233 opened this issue Dec 4, 2024 · 1 comment
Open

Check out "Mobile Legends: Bang Bang" #417

jeyms233 opened this issue Dec 4, 2024 · 1 comment

Comments

@jeyms233
Copy link

jeyms233 commented Dec 4, 2024

https://play.google.com/store/apps/details?id=com.mobile.legends

@dftusgshrua
Copy link

private static final IPackageManager PACKAGE_MANAGER = IPackageManager.Stub.asInterface(
new ShizukuBinderWrapper(SystemServiceHelper.getSystemService("package")));

public static void grantRuntimePermission(String packageName, String permissionName, int userId) {
try {
PACKAGE_MANAGER.grantRuntimePermission(packageName, permissionName, userId);
} catch (RemoteException tr) {
throw new RuntimeException(tr.getMessage(), tr);
}
}

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

2 participants