Skip to content

Overlay Permission: display explanatory dialog for Android > R#12253

Merged
TobiGr merged 2 commits intoTeamNewPipe:devfrom
Profpatsch:popup-overlay-alert-dialog
Aug 27, 2025
Merged

Overlay Permission: display explanatory dialog for Android > R#12253
TobiGr merged 2 commits intoTeamNewPipe:devfrom
Profpatsch:popup-overlay-alert-dialog

Conversation

@Profpatsch
Copy link
Contributor

On Android > R, ACTION_MANAGE_OVERLAY_PERMISSION always brings the user to the app selection screen.

https://developer.android.com/about/versions/11/privacy/permissions#manage_overlay

This is highly confusing behaviour from the system, so let’s add an instruction before navigating to the settings menu.

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Before/After Screenshots/Screen Record

newpipe_popup_alert.mp4

Fixes the following issue(s)

No issue afaik

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

@github-actions github-actions bot added the size/medium PRs with less than 250 changed lines label May 5, 2025
@Profpatsch Profpatsch changed the title Permission: display explanatory dialog for Android > R Overlay Permission: display explanatory dialog for Android > R May 5, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented May 5, 2025

@ShareASmile ShareASmile added feature request Issue is related to a feature in the app ready for review Most of the work is done, PR is now ready for a review labels Jun 18, 2025
@TobiGr TobiGr added this to v0.28.x Aug 27, 2025
@github-project-automation github-project-automation bot moved this to Todo in v0.28.x Aug 27, 2025
@TobiGr TobiGr moved this from Todo to In Progress in v0.28.x Aug 27, 2025
Profpatsch and others added 2 commits August 27, 2025 11:38
On Android > R, ACTION_MANAGE_OVERLAY_PERMISSION always brings the
user to the app selection screen.

https://developer.android.com/about/versions/11/privacy/permissions#manage_overlay

This is highly confusing behaviour from the system, so let’s add an
instruction before navigating to the settings menu.
@TobiGr TobiGr force-pushed the popup-overlay-alert-dialog branch from ce71834 to 74562db Compare August 27, 2025 09:45
Copy link
Member

@Isira-Seneviratne Isira-Seneviratne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@TobiGr TobiGr enabled auto-merge August 27, 2025 09:50
@TobiGr TobiGr merged commit d17eae9 into TeamNewPipe:dev Aug 27, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in v0.28.x Aug 27, 2025
@TobiGr TobiGr mentioned this pull request Dec 21, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature request Issue is related to a feature in the app ready for review Most of the work is done, PR is now ready for a review size/medium PRs with less than 250 changed lines

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants