Skip to content

Commit

Permalink
Android example: Fix to permission query.
Browse files Browse the repository at this point in the history
  • Loading branch information
JOikarinen committed Feb 18, 2022
1 parent 21a343e commit d59fae6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,9 @@ class MainActivity : AppCompatActivity() {
} else {
requestPermissions(arrayOf(Manifest.permission.ACCESS_FINE_LOCATION), PERMISSION_REQUEST_CODE)
}
} else {
requestPermissions(arrayOf(Manifest.permission.ACCESS_COARSE_LOCATION), PERMISSION_REQUEST_CODE)
}
requestPermissions(arrayOf(Manifest.permission.ACCESS_COARSE_LOCATION), PERMISSION_REQUEST_CODE)
}
}

Expand Down

0 comments on commit d59fae6

Please sign in to comment.