Skip to content

Commit

Permalink
添加獲取附近wifi設備的權限
Browse files Browse the repository at this point in the history
  • Loading branch information
qwe7002 committed Nov 24, 2024
1 parent 87c2d4c commit 944d51b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/com/qwe7002/telegram_rc/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,8 @@ class MainActivity : AppCompatActivity() {
Manifest.permission.READ_PHONE_STATE,
Manifest.permission.READ_CALL_LOG,
Manifest.permission.ACCESS_FINE_LOCATION,
Manifest.permission.ACCESS_COARSE_LOCATION
Manifest.permission.ACCESS_COARSE_LOCATION,
Manifest.permission.NEARBY_WIFI_DEVICES
)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
val permissionArrayList =
Expand Down

0 comments on commit 944d51b

Please sign in to comment.