Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
permission_handler
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songyanzhi
permission_handler
Commits
ff730b1b
Commit
ff730b1b
authored
Oct 16, 2019
by
Sebastian Roth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not fetch manifest location_background manifest name for Android OS < Q
parent
5a2fa538
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
android/src/main/java/com/baseflow/permissionhandler/PermissionHandlerPlugin.java
+4
-2
No files found.
android/src/main/java/com/baseflow/permissionhandler/PermissionHandlerPlugin.java
View file @
ff730b1b
...
...
@@ -573,8 +573,10 @@ public class PermissionHandlerPlugin implements MethodCallHandler {
break
;
case
PERMISSION_GROUP_LOCATION_ALWAYS:
if
(
hasPermissionInManifest
(
Manifest
.
permission
.
ACCESS_BACKGROUND_LOCATION
))
permissionNames
.
add
(
Manifest
.
permission
.
ACCESS_BACKGROUND_LOCATION
);
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
Q
)
{
if
(
hasPermissionInManifest
(
Manifest
.
permission
.
ACCESS_BACKGROUND_LOCATION
))
permissionNames
.
add
(
Manifest
.
permission
.
ACCESS_BACKGROUND_LOCATION
);
}
case
PERMISSION_GROUP_LOCATION_WHEN_IN_USE:
case
PERMISSION_GROUP_LOCATION:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment