Skip to content

Commit ad2bd9f

Browse files
committed
Update MainActivity.kt
1 parent 1211439 commit ad2bd9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/fingerprintjs/android/fpjs_pro_demo/MainActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ class MainActivity : ComponentActivity() {
4646
}
4747

4848
fun checkLocationPermissions() {
49-
if (isAnyLocationPermissionEnabled()) {
50-
// We have at least some location permission, so we can proceed with getVisitorId
49+
if (isAnyLocationPermissionGranted()) {
50+
// We have at least some location permission, so we can proceed with Fingerprint call
5151
return
5252
}
5353

0 commit comments

Comments
 (0)