Aefyr / SAI

Android split APKs installer
GNU General Public License v3.0
2.48k stars 251 forks source link

Create YouTube #215

Closed ParinyaThk closed 3 years ago

ParinyaThk commented 3 years ago

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); } }`

ParinyaThk commented 3 years ago

``

github-actions[bot] commented 3 years ago

This pull request hasn't had any activity for the last 60 days and will be automatically closed in 7 days from now