Skip to content

Commit 8afa75b

Browse files
committed
update permissions
1 parent c0e98ff commit 8afa75b

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

mode/src/processing/mode/android/Permissions.java

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ public String getMenuTitle() {
252252
static final String[] listing = {
253253
"ACCEPT_HANDOVER", "Allows a calling app to continue a call which was started in another app.",
254254
"ACCESS_BACKGROUND_LOCATION", "Allows an app to access location in the background.",
255+
"ACCESS_BLOBS_ACROSS_USERS", "Allows an application to access data blobs across users.",
255256
"ACCESS_CHECKIN_PROPERTIES", "Allows read/write access to the \"properties\" table in the checkin database, to change values that get uploaded.",
256257
"ACCESS_COARSE_LOCATION", "Allows an app to access approximate location.",
257258
"ACCESS_FINE_LOCATION", "Allows an app to access precise location.",
@@ -289,17 +290,20 @@ public String getMenuTitle() {
289290
"BIND_TELECOM_CONNECTION_SERVICE", "Must be required by a <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/telecom/ConnectionService\">ConnectionService</a></code> , to ensure that only the system can bind to it.",
290291
"BIND_TEXT_SERVICE", "Must be required by a TextService (e.g. SpellCheckerService) to ensure that only the system can bind to it.",
291292
"BIND_TV_INPUT", "Must be required by a <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/media/tv/TvInputService\">TvInputService</a></code> to ensure that only the system can bind to it.",
293+
"BIND_TV_INTERACTIVE_APP", "Must be required by a <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/media/tv/interactive/TvInteractiveAppService\">TvInteractiveAppService</a></code> to ensure that only the system can bind to it.",
292294
"BIND_VISUAL_VOICEMAIL_SERVICE", "Must be required by a link <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/telephony/VisualVoicemailService\">VisualVoicemailService</a></code> to ensure that only the system can bind to it.",
293295
"BIND_VOICE_INTERACTION", "Must be required by a <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/service/voice/VoiceInteractionService\">VoiceInteractionService</a></code> , to ensure that only the system can bind to it.",
294296
"BIND_VPN_SERVICE", "Must be required by a <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/net/VpnService\">VpnService</a></code> , to ensure that only the system can bind to it.",
295297
"BIND_VR_LISTENER_SERVICE", "Must be required by an <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/service/vr/VrListenerService\">VrListenerService</a></code> , to ensure that only the system can bind to it.",
296298
"BIND_WALLPAPER", "Must be required by a <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/service/wallpaper/WallpaperService\">WallpaperService</a></code> , to ensure that only the system can bind to it.",
297299
"BLUETOOTH", "Allows applications to connect to paired bluetooth devices.",
298300
"BLUETOOTH_ADMIN", "Allows applications to discover and pair bluetooth devices.",
301+
"BLUETOOTH_ADVERTISE", "Required to be able to advertise to nearby Bluetooth devices.",
299302
"BLUETOOTH_CONNECT", "Required to be able to connect to paired Bluetooth devices.",
300303
"BLUETOOTH_PRIVILEGED", "Allows applications to pair bluetooth devices without user interaction, and to allow or disallow phonebook access or message access.",
301304
"BLUETOOTH_SCAN", "Required to be able to discover and pair nearby Bluetooth devices.",
302305
"BODY_SENSORS", "Allows an application to access data from sensors that the user uses to measure what is happening inside their body, such as heart rate.",
306+
"BODY_SENSORS_BACKGROUND", "Allows an application to access data from sensors that the user uses to measure what is happening inside their body, such as heart rate.",
303307
"BROADCAST_PACKAGE_REMOVED", "Allows an application to broadcast a notification that an application package has been removed.",
304308
"BROADCAST_SMS", "Allows an application to broadcast an SMS receipt notification.",
305309
"BROADCAST_STICKY", "Allows an application to broadcast sticky intents.",
@@ -318,6 +322,7 @@ public String getMenuTitle() {
318322
"CONTROL_LOCATION_UPDATES", "Allows enabling/disabling location update notifications from the radio.",
319323
"DELETE_CACHE_FILES", "Old permission for deleting an app's cache files, no longer used, but signals for us to quietly ignore calls instead of throwing an exception.",
320324
"DELETE_PACKAGES", "Allows an application to delete packages.",
325+
"DELIVER_COMPANION_MESSAGES", "Allows an application to deliver companion messages to system",
321326
"DIAGNOSTIC", "Allows applications to RW to diagnostic resources.",
322327
"DISABLE_KEYGUARD", "Allows applications to disable the keyguard if it is not secure.",
323328
"DUMP", "Allows an application to retrieve state dump information from system services.",
@@ -337,29 +342,42 @@ public String getMenuTitle() {
337342
"INTERACT_ACROSS_PROFILES", "Allows interaction across profiles in the same profile group.",
338343
"INTERNET", "Allows applications to open network sockets.",
339344
"KILL_BACKGROUND_PROCESSES", "Allows an application to call <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/app/ActivityManager#killBackgroundProcesses(java.lang.String)\">ActivityManager.killBackgroundProcesses(String)</a></code> .",
345+
"LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK", "An application needs this permission for <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/provider/Settings#ACTION_SETTINGS_EMBED_DEEP_LINK_ACTIVITY\">Settings.ACTION_SETTINGS_EMBED_DEEP_LINK_ACTIVITY</a></code> to show its <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/app/Activity\">Activity</a></code> embedded in Settings app.",
340346
"LOADER_USAGE_STATS", "Allows a data loader to read a package's access logs.",
341347
"LOCATION_HARDWARE", "Allows an application to use location features in hardware, such as the geofencing api.",
342348
"MANAGE_DOCUMENTS", "Allows an application to manage access to documents, usually as part of a document picker.",
343349
"MANAGE_EXTERNAL_STORAGE", "Allows an application a broad access to external storage in scoped storage.",
344350
"MANAGE_MEDIA", "Allows an application to modify and delete media files on this device or any connected storage device without user confirmation.",
345351
"MANAGE_ONGOING_CALLS", "Allows to query ongoing call details and manage ongoing calls",
346352
"MANAGE_OWN_CALLS", "Allows a calling application which manages its own calls through the self-managed <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/telecom/ConnectionService\">ConnectionService</a></code> APIs.",
353+
"MANAGE_WIFI_INTERFACES", "Allows applications to get notified when a Wi-Fi interface request cannot be satisfied without tearing down one or more other interfaces, and provide a decision whether to approve the request or reject it.",
354+
"MANAGE_WIFI_NETWORK_SELECTION", "This permission is used to let OEMs grant their trusted app access to a subset of privileged wifi APIs to improve wifi performance.",
347355
"MASTER_CLEAR", "Not for use by third-party applications.",
348356
"MEDIA_CONTENT_CONTROL", "Allows an application to know what content is playing and control its playback.",
349357
"MODIFY_AUDIO_SETTINGS", "Allows an application to modify global audio settings.",
350358
"MODIFY_PHONE_STATE", "Allows modification of the telephony state - power on, mmi, etc.",
351359
"MOUNT_FORMAT_FILESYSTEMS", "Allows formatting file systems for removable storage.",
352360
"MOUNT_UNMOUNT_FILESYSTEMS", "Allows mounting and unmounting file systems for removable storage.",
361+
"NEARBY_WIFI_DEVICES", "Required to be able to advertise and connect to nearby devices via Wi-Fi.",
353362
"NFC", "Allows applications to perform I/O operations over NFC.",
354363
"NFC_PREFERRED_PAYMENT_INFO", "Allows applications to receive NFC preferred payment service information.",
355364
"NFC_TRANSACTION_EVENT", "Allows applications to receive NFC transaction events.",
365+
"OVERRIDE_WIFI_CONFIG", "Allows an application to modify any wifi configuration, even if created by another application.",
356366
"PACKAGE_USAGE_STATS", "Allows an application to collect component usage statistics",
367+
"POST_NOTIFICATIONS", "Allows an app to post notifications",
357368
"QUERY_ALL_PACKAGES", "Allows query of any normal app on the device, regardless of manifest declarations.",
369+
"READ_ASSISTANT_APP_SEARCH_DATA", "Allows an application to query over global data in AppSearch that's visible to the ASSISTANT role.",
370+
"READ_BASIC_PHONE_STATE", "Allows read only access to phone state with a non dangerous permission, including the information like cellular network type, software version.",
358371
"READ_CALENDAR", "Allows an application to read the user's calendar data.",
359372
"READ_CALL_LOG", "Allows an application to read the user's call log.",
360373
"READ_CONTACTS", "Allows an application to read the user's contacts data.",
361374
"READ_EXTERNAL_STORAGE", "Allows an application to read from external storage.",
375+
"READ_HOME_APP_SEARCH_DATA", "Allows an application to query over global data in AppSearch that's visible to the HOME role.",
362376
"READ_LOGS", "Allows an application to read the low-level system log files.",
377+
"READ_MEDIA_AUDIO", "Allows an application to read audio files from external storage.",
378+
"READ_MEDIA_IMAGES", "Allows an application to read image files from external storage.",
379+
"READ_MEDIA_VIDEO", "Allows an application to read video files from external storage.",
380+
"READ_NEARBY_STREAMING_POLICY", "Allows an application to read nearby streaming policy.",
363381
"READ_PHONE_NUMBERS", "Allows read access to the device's phone number(s).",
364382
"READ_PHONE_STATE", "Allows read only access to phone state, including the current cellular network information, the status of any ongoing calls, and a list of any <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/telecom/PhoneAccount\">PhoneAccount</a></code> s registered on the device.",
365383
"READ_PRECISE_PHONE_STATE", "Allows read only access to precise phone state.",
@@ -374,15 +392,20 @@ public String getMenuTitle() {
374392
"RECEIVE_WAP_PUSH", "Allows an application to receive WAP push messages.",
375393
"RECORD_AUDIO", "Allows an application to record audio.",
376394
"REORDER_TASKS", "Allows an application to change the Z-order of tasks.",
395+
"REQUEST_COMPANION_PROFILE_APP_STREAMING", "Allows application to request to be associated with a virtual display capable of streaming Android applications ( <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/companion/AssociationRequest#DEVICE_PROFILE_APP_STREAMING\">AssociationRequest.DEVICE_PROFILE_APP_STREAMING</a></code> ) by <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/companion/CompanionDeviceManager\">CompanionDeviceManager</a></code> .",
396+
"REQUEST_COMPANION_PROFILE_AUTOMOTIVE_PROJECTION", "Allows application to request to be associated with a vehicle head unit capable of automotive projection ( <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/companion/AssociationRequest#DEVICE_PROFILE_AUTOMOTIVE_PROJECTION\">AssociationRequest.DEVICE_PROFILE_AUTOMOTIVE_PROJECTION</a></code> ) by <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/companion/CompanionDeviceManager\">CompanionDeviceManager</a></code> .",
397+
"REQUEST_COMPANION_PROFILE_COMPUTER", "Allows application to request to be associated with a computer to share functionality and/or data with other devices, such as notifications, photos and media ( <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/companion/AssociationRequest#DEVICE_PROFILE_COMPUTER\">AssociationRequest.DEVICE_PROFILE_COMPUTER</a></code> ) by <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/companion/CompanionDeviceManager\">CompanionDeviceManager</a></code> .",
377398
"REQUEST_COMPANION_PROFILE_WATCH", "Allows app to request to be associated with a device via <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/companion/CompanionDeviceManager\">CompanionDeviceManager</a></code> as a \"watch\"",
378399
"REQUEST_COMPANION_RUN_IN_BACKGROUND", "Allows a companion app to run in the background.",
400+
"REQUEST_COMPANION_SELF_MANAGED", "Allows an application to create a \"self-managed\" association.",
401+
"REQUEST_COMPANION_START_FOREGROUND_SERVICES_FROM_BACKGROUND", "Allows a companion app to start a foreground service from the background.",
379402
"REQUEST_COMPANION_USE_DATA_IN_BACKGROUND", "Allows a companion app to use data in the background.",
380403
"REQUEST_DELETE_PACKAGES", "Allows an application to request deleting packages.",
381404
"REQUEST_IGNORE_BATTERY_OPTIMIZATIONS", "Permission an application must hold in order to use <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/provider/Settings#ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS\">Settings.ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS</a></code> .",
382405
"REQUEST_INSTALL_PACKAGES", "Allows an application to request installing packages.",
383406
"REQUEST_OBSERVE_COMPANION_DEVICE_PRESENCE", "Allows an application to subscribe to notifications about the presence status change of their associated companion device",
384407
"REQUEST_PASSWORD_COMPLEXITY", "Allows an application to request the screen lock complexity and prompt users to update the screen lock to a certain complexity level.",
385-
"SCHEDULE_EXACT_ALARM", "Allows an app to use exact alarm scheduling APIs to perform timing sensitive background work.",
408+
"SCHEDULE_EXACT_ALARM", "Allows applications to use exact alarm APIs.",
386409
"SEND_RESPOND_VIA_MESSAGE", "Allows an application (Phone) to send a request to other applications to handle the respond-via-message action during incoming calls.",
387410
"SEND_SMS", "Allows an application to send SMS messages.",
388411
"SET_ALARM", "Allows an application to broadcast an Intent to set an alarm for the user.",
@@ -395,16 +418,21 @@ public String getMenuTitle() {
395418
"SET_WALLPAPER", "Allows applications to set the wallpaper.",
396419
"SET_WALLPAPER_HINTS", "Allows applications to set the wallpaper hints.",
397420
"SIGNAL_PERSISTENT_PROCESSES", "Allow an application to request that a signal be sent to all persistent processes.",
398-
"START_FOREGROUND_SERVICES_FROM_BACKGROUND", "Allows an application to start foreground services from background, can only be granted to privileged apps or app that is SMS/EMERGENCY/SYSTEM GALLERY roles.",
421+
"START_FOREGROUND_SERVICES_FROM_BACKGROUND", "Allows an application to start foreground services from the background at any time.",
422+
"START_VIEW_APP_FEATURES", "Allows the holder to start the screen with a list of app features.",
399423
"START_VIEW_PERMISSION_USAGE", "Allows the holder to start the permission usage screen for an app.",
400424
"STATUS_BAR", "Allows an application to open, close, or disable the status bar and its icons.",
425+
"SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE", "Allows an application to subscribe to keyguard locked (i.e., showing) state.",
401426
"SYSTEM_ALERT_WINDOW", "Allows an app to create windows using the type <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY\">WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY</a></code> , shown on top of all other apps.",
402427
"TRANSMIT_IR", "Allows using the device's IR transmitter, if available.",
403428
"UPDATE_DEVICE_STATS", "Allows an application to update device statistics.",
429+
"UPDATE_PACKAGES_WITHOUT_USER_ACTION", "Allows an application to indicate via <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/content/pm/PackageInstaller.SessionParams#setRequireUserAction(int)\">PackageInstaller.SessionParams.setRequireUserAction(int)</a></code> that user action should not be required for an app update.",
404430
"USE_BIOMETRIC", "Allows an app to use device supported biometric modalities.",
431+
"USE_EXACT_ALARM", "Allows apps to use exact alarms just like with <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/Manifest.permission#SCHEDULE_EXACT_ALARM\">SCHEDULE_EXACT_ALARM</a></code> but without needing to request this permission from the user.",
405432
"USE_FULL_SCREEN_INTENT", "Required for apps targeting <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/os/Build.VERSION_CODES#Q\">Build.VERSION_CODES.Q</a></code> that want to use <code dir=\"ltr\" translate=\"no\"><a href=\"/reference/android/app/Notification.Builder#setFullScreenIntent(android.app.PendingIntent,%20boolean)\">notification full screen intents</a></code> .",
406433
"USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER", "Allows to read device identifiers and use ICC based authentication like EAP-AKA.",
407434
"USE_SIP", "Allows an application to use SIP service.",
435+
"UWB_RANGING", "Required to be able to range to devices using ultra-wideband.",
408436
"VIBRATE", "Allows access to the vibrator.",
409437
"WAKE_LOCK", "Allows using PowerManager WakeLocks to keep processor from sleeping or screen from dimming.",
410438
"WRITE_APN_SETTINGS", "Allows applications to write the apn settings and read sensitive fields of an existing apn settings like user and password.",
@@ -430,16 +458,23 @@ public String getMenuTitle() {
430458
"ACTIVITY_RECOGNITION",
431459
"ADD_VOICEMAIL",
432460
"ANSWER_PHONE_CALLS",
461+
"BLUETOOTH_ADVERTISE",
433462
"BLUETOOTH_CONNECT",
434463
"BLUETOOTH_SCAN",
435464
"BODY_SENSORS",
465+
"BODY_SENSORS_BACKGROUND",
436466
"CALL_PHONE",
437467
"CAMERA",
438468
"GET_ACCOUNTS",
469+
"NEARBY_WIFI_DEVICES",
470+
"POST_NOTIFICATIONS",
439471
"READ_CALENDAR",
440472
"READ_CALL_LOG",
441473
"READ_CONTACTS",
442474
"READ_EXTERNAL_STORAGE",
475+
"READ_MEDIA_AUDIO",
476+
"READ_MEDIA_IMAGES",
477+
"READ_MEDIA_VIDEO",
443478
"READ_PHONE_NUMBERS",
444479
"READ_PHONE_STATE",
445480
"READ_SMS",
@@ -449,6 +484,7 @@ public String getMenuTitle() {
449484
"RECORD_AUDIO",
450485
"SEND_SMS",
451486
"USE_SIP",
487+
"UWB_RANGING",
452488
"WRITE_CALENDAR",
453489
"WRITE_CALL_LOG",
454490
"WRITE_CONTACTS",

0 commit comments

Comments
 (0)