Closed KieronQuinn closed 11 months ago
Oops, mentioning this issue in the PR automatically closed it when merged.
Unfortunately it looks like the build of Hidden APIs isn't working due to a GPG issue in the action, which I don't have access to to resolve. @RikkaW would you be able to look at this at some point?
In the meantime I've built a custom version of Shizuku with the fix included it's linked at https://github.com/KieronQuinn/Smartspacer/issues/52
Please report bugs of Shizuku itself.
Requirements:
Reports not meet the requirements will be immediately closed.
Information:
Logs:
Describe the bug:
There's been changes to the grant & revoke method signatures in
IPermissionManager
, they're now:void grantRuntimePermission(String packageName, String permissionName, int deviceId, int userId)
and
void revokeRuntimePermission(String packageName, String permissionName, int deviceId, int userId, String reason)
deviceId
is meant to be [Context.getDeviceId](https://developer.android.com/reference/android/content/Context#getDeviceId()), but I think it should be fine to send 0 for the time being as the device ID will always be 0 due to not running on virtual devices.Additional context:
I did try to get a build running locally to fix this in a PR, but the Refine plugin is refusing to compile for me, throwing an exception due to not liking the hidden classes:
Use deprecated refine class android.app.ActivityManagerHidden$5721935
. Should be a relatively easy fix however.