Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
9b779a05
Commit
9b779a05
authored
Dec 09, 2018
by
Evan W. Patton
Committed by
Susan Rati Lane
Dec 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix permissions handling on older Android versions
Change-Id: If93a3e452908781c35e577c5d72df88eb028ade8
parent
38a69a94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
appinventor/components/src/com/google/appinventor/components/runtime/Form.java
...s/src/com/google/appinventor/components/runtime/Form.java
+1
-2
No files found.
appinventor/components/src/com/google/appinventor/components/runtime/Form.java
View file @
9b779a05
...
...
@@ -2472,8 +2472,7 @@ public class Form extends AppInventorCompatActivity
*/
public
void
askPermission
(
final
String
permission
,
final
PermissionResultHandler
responseRequestor
)
{
final
Form
form
=
this
;
if
(
ContextCompat
.
checkSelfPermission
(
form
,
permission
)
==
PackageManager
.
PERMISSION_GRANTED
)
{
if
(!
isDeniedPermission
(
permission
))
{
// We already have permission, so no need to ask
responseRequestor
.
HandlePermissionResponse
(
permission
,
true
);
return
;
...
...
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