mirror of
https://github.com/markusfisch/BinaryEye.git
synced 2024-09-20 12:02:17 +02:00
Only request ACCESS_FINE_LOCATION below Android Q
Not required to suggest a network for Android Q.
This commit is contained in:
parent
c61db34d27
commit
f31c1eee0e
@ -231,6 +231,7 @@ class DecodeFragment : Fragment() {
|
||||
private fun executeAction(content: ByteArray) {
|
||||
if (activity != null && content.isNotEmpty()) {
|
||||
if (action is WifiAction &&
|
||||
Build.VERSION.SDK_INT < Build.VERSION_CODES.Q &&
|
||||
!hasLocationPermission(activity)
|
||||
) {
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user