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
9a55cdae
Unverified
Commit
9a55cdae
authored
Jun 14, 2019
by
Sebastian Roth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repair error logging
parent
0f039a78
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
android/src/main/java/com/baseflow/permissionhandler/PermissionHandlerPlugin.java
+4
-4
No files found.
android/src/main/java/com/baseflow/permissionhandler/PermissionHandlerPlugin.java
View file @
9a55cdae
...
...
@@ -251,14 +251,14 @@ public class PermissionHandlerPlugin implements MethodCallHandler {
final
List
<
String
>
names
=
getManifestNames
(
permission
);
if
(
names
==
null
)
{
Log
.
d
(
LOG_TAG
,
"No android specific permissions needed for:
$permission"
);
Log
.
d
(
LOG_TAG
,
"No android specific permissions needed for:
"
+
permission
);
return
PERMISSION_STATUS_GRANTED
;
}
//if no permissions were found then there is an issue and permission is not set in Android manifest
if
(
names
.
size
()
==
0
)
{
Log
.
d
(
LOG_TAG
,
"No permissions found in manifest for:
$permission"
);
Log
.
d
(
LOG_TAG
,
"No permissions found in manifest for:
"
+
permission
);
return
PERMISSION_STATUS_UNKNOWN
;
}
...
...
@@ -364,12 +364,12 @@ public class PermissionHandlerPlugin implements MethodCallHandler {
// if isn't an android specific group then go ahead and return false;
if
(
names
==
null
)
{
Log
.
d
(
LOG_TAG
,
"No android specific permissions needed for:
$permission"
);
Log
.
d
(
LOG_TAG
,
"No android specific permissions needed for:
"
+
permission
);
return
false
;
}
if
(
names
.
isEmpty
())
{
Log
.
d
(
LOG_TAG
,
"No permissions found in manifest for:
$permission
no need to show request rationale"
);
Log
.
d
(
LOG_TAG
,
"No permissions found in manifest for:
"
+
permission
+
"
no need to show request rationale"
);
return
false
;
}
...
...
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