Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
jankul.2022's avatar
jankul.2022
Honored Guest
11 months ago

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