Skip to content

feat: some macro methods for Android PermissionHelper - #4186

Closed
pkar70 wants to merge 5 commits into
unoplatform:masterfrom
pkar70:PermissionHelper_macros
Closed

pkar70 wants to merge 5 commits into
unoplatform:masterfrom
pkar70:PermissionHelper_macros

Conversation

@pkar70

@pkar70 pkar70 commented Sep 30, 2020

Copy link
Copy Markdown
Contributor

GitHub Issue (If applicable): #

PR Type

What kind of change does this PR introduce?

  • Feature

What is the current behavior?

Some scenarios dealing with permissions on Android are complicated.

What is the new behavior?

Three methods added:

  • CheckPermission without CancellationToken
  • AreDeclaredInManifest - same as IsDeclaredInManifest, but for more than one permission at once
  • EnsuresPermissionsAreDeclaredInManifest - check declaration or fail (throw)

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

This PR would be used in several of my other PRs, and probably also by by others.

Internal Issue (If applicable):

@pkar70
pkar70 requested a review from a team September 30, 2020 12:51
@gitpod-io

gitpod-io Bot commented Sep 30, 2020 •

Copy link
Copy Markdown

@pkar70

pkar70 commented Oct 7, 2020

Copy link
Copy Markdown
Contributor Author

Can I get any reaction for this PR (updated version)?

1 similar comment
@pkar70

pkar70 commented Oct 19, 2020

Copy link
Copy Markdown
Contributor Author

Can I get any reaction for this PR (updated version)?

@pkar70 pkar70 mentioned this pull request Oct 22, 2020
2 of 5 tasks
@pkar70

pkar70 commented Nov 13, 2020

Copy link
Copy Markdown
Contributor Author

Can I get any response/review of this PR?

@pkar70

pkar70 commented Nov 21, 2020

Copy link
Copy Markdown
Contributor Author

So, one method is removed (if you don't want it), but another is still present.

@pkar70

pkar70 commented Nov 22, 2020

Copy link
Copy Markdown
Contributor Author

Sorry, I removed bad method :) Not the method you doesn't want...

@agneszitte

Copy link
Copy Markdown
Member

@pkar70 there is come conflicts to be resolved for this PR ;)

@gitpod-io

gitpod-io Bot commented Sep 19, 2022

Copy link
Copy Markdown

@MartinZikmund
MartinZikmund marked this pull request as draft July 1, 2024 14:30
@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 10 days.

@github-actions github-actions Bot added the stale This item has been marked as stale and will be closed if there is no activity. label Jan 29, 2025
@MartinZikmund MartinZikmund removed the stale This item has been marked as stale and will be closed if there is no activity. label Jul 31, 2025
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants