jishindev
11/15/2018, 4:22 PMgildor
11/15/2018, 5:23 PMjishindev
11/15/2018, 6:06 PMifLocationPermsGranted {
fusedLocationProviderClient.lastLocation. ....
}
Right now, it shows the MissingPermission lint error on fusedLocationProviderClient.lastLocation
.rkeazor
11/15/2018, 8:03 PMigor.wojda
11/15/2018, 9:29 PMgildor
11/16/2018, 10:20 AMigor.wojda
11/16/2018, 10:21 AMgildor
11/16/2018, 10:22 AMgildor
11/16/2018, 10:24 AMjishindev
11/16/2018, 11:05 AM@PackageManager.PermissionResult
inside the Context
class used on the checkSelfPermission()
method. But not so sure I can use it. It's unresolved on the package manager.
Is there any other way to achieve the same behavior ? Which doesn't pop up lint errors like this one does ?gildor
11/16/2018, 11:06 AM