Forum Discussion
jankul.2022
12 months agoHonored Guest
Cannot grant access to Draw Over Other Apps permission on PTC v71
Starting from Quest system version v71 it is not possible to grant Draw Over Other Apps permission. Invoking the code I provided below opens up first page of Settings menu instead of the permission menu with toggle. The issue doesn't occur in version below v71. In previous versions it works fine, the menu with the toggle opens correctly and user can grant access to this permission.
// android.settings.action.MANAGE_OVERLAY_PERMISSION
Intent intent = new Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION, Uri.parse("package:" + getPackageName()));
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
It is also not possible to grant this permission manually through settings. The only way to grant it is to install an app using adb with -g parameter:
adb install -g .\app.apk
UPDATE:
Works fine on v72. I've just sideloaded v72 on my Quest 2 and it works as before. So the problem is only on v71.
No RepliesBe the first to reply
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 7 months ago
- 2 years ago
- 4 months ago
- 8 months ago