android / codelab-while-in-use-location

Codelab:
https://github.com/googlecodelabs/while-in-use-location
Apache License 2.0
81 stars 51 forks source link

should call shouldShowRequestPermissionRationale instead #10

Closed khatv911 closed 4 years ago

khatv911 commented 4 years ago

this call:

provideRationale = foregroundPermissionApproved()

seems to be not the right implementation. it should invoke shouldShowRequestPermissionRationale() instead.