Skip to content

Commit

Permalink
Add some permissions from API 31 to API 33 (kivy#2677)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertFlatt authored and ShyamQt committed Feb 17, 2023
1 parent 723182a commit a8d60ab
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pythonforandroid/recipes/android/src/android/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@ class Permission:
BLUETOOTH = (
"android.permission.BLUETOOTH"
)
BLUETOOTH_ADVERTISE = (
"android.permission.BLUETOOTH_ADVERTISE"
)
BLUETOOTH_CONNECT = (
"android.permission.BLUETOOTH_CONNECT"
)
BLUETOOTH_SCAN = (
"android.permission.BLUETOOTH_SCAN"
)
BLUETOOTH_ADMIN = (
"android.permission.BLUETOOTH_ADMIN"
)
Expand Down Expand Up @@ -233,6 +242,9 @@ class Permission:
MOUNT_UNMOUNT_FILESYSTEMS = (
"android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
)
NEARBY_WIFI_DEVICES = (
"android.permission.NEARBY_WIFI_DEVICES"
)
NFC = (
"android.permission.NFC"
)
Expand All @@ -245,6 +257,9 @@ class Permission:
PERSISTENT_ACTIVITY = (
"android.permission.PERSISTENT_ACTIVITY"
)
POST_NOTIFICATIONS = (
"android.permission.POST_NOTIFICATIONS"
)
PROCESS_OUTGOING_CALLS = (
"android.permission.PROCESS_OUTGOING_CALLS"
)
Expand All @@ -269,6 +284,15 @@ class Permission:
READ_LOGS = (
"android.permission.READ_LOGS"
)
READ_MEDIA_AUDIO = (
"android.permission.READ_MEDIA_AUDIO"
)
READ_MEDIA_IMAGES = (
"android.permission.READ_MEDIA_IMAGES"
)
READ_MEDIA_VIDEO = (
"android.permission.READ_MEDIA_VIDEO"
)
READ_PHONE_NUMBERS = (
"android.permission.READ_PHONE_NUMBERS"
)
Expand Down

0 comments on commit a8d60ab

Please sign in to comment.