美文网首页
Android版本变化而产生的权限变更

Android版本变化而产生的权限变更

作者: WindMajor | 来源:发表于2017-12-26 17:55 被阅读161次

    随着Android每次版本的提升,可用的权限也会有所更迭。可能会产生新增、删除、废弃等变化。

    本篇文章收集了Android从 API 14开始,每次版本升级带来的权限变更明细:

    14 => 15

    添加2条:
    android.permission.READ_SOCIAL_STREAM
    android.permission. WRITE_SOCIAL_STREAM

    15 => 16

    新增6条:
    android.permission.BIND_ACCESSIBILITY_SERVICE
    android.permission.READ_CALL_LOG
    android.permission.READ_EXTERNAL_STORAGE
    android.permission.READ_USER_DICTIONARY
    android.permission.WRITE_CALL_LOG
    android.permission.WRITE_USER_DICTIONARY

    废弃1条:
    android.permission.READ_INPUT_STATE

    16 => 17

    未添加权限,添加了Permission_group

    17 => 18

    新增4条:
    android.permission.BIND_NOTIFICATION_LISTENER_SERVICE
    android.permission.GET_TOP_ACTIVITY_INFO
    android.permission.LOCATION_HARDWARE
    android.permission.SEND_RESPOND_VIA_MESSAGE

    18 => 19

    新增11条:
    android.permission.BIND_NFC_SERVICE
    android.permission.BIND_PRINT_SERVICE
    android.permission.BLUETOOTH_PRIVILEGED
    android.permission.CAPTURE_AUDIO_OUTPUT
    android.permission.CAPTURE_SECURE_VIDEO_OUTPUT
    android.permission.CAPTURE_VIDEO_OUTPUT
    android.permission.INSTALL_SHORTCUT
    android.permission.MANAGE_DOCUMENTS
    android.permission.MEDIA_CONTENT_CONTROL
    android.permission.TRANSMIT_IR
    android.permission.UNINSTALL_SHORTCUT

    19 => 20

    新增1条:
    android.permission.BODY_SENSORS

    20 => 21

    新增5条:
    android.permission.BIND_DREAM_SERVICE
    android.permission.BIND_TV_INPUT
    android.permission.BIND_VOICE_INTERACTION
    android.permission.READ_VOICEMAIL
    android.permission.WRITE_VOICEMAIL

    废弃3条:
    android.permission.GET_TASKS
    android.permission.READ_SOCIAL_STREAM
    android.permission.WRITE_SOCIAL_STREAM

    21 => 22

    新增1条:
    android.permission.BIND_CARRIER_MESSAGING_SERVICE

    22 => 23

    新增11条:
    android.permission.ACCESS_NOTIFICATION_POLICY
    android.permission.BIND_CARRIER_SERVICES
    android.permission.BIND_CHOOSER_TARGET_SERVICE
    android.permission.BIND_INCALL_SERVICE
    android.permission.BIND_MIDI_DEVICE_SERVICE
    android.permission.BIND_TELECOM_CONNECTION_SERVICE
    android.permission.GET_ACCOUNTS_PRIVILEGED
    android.permission.PACKAGE_USAGE_STATS
    android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
    android.permission.REQUEST_INSTALL_PACKAGES
    android.permission.USE_FINGERPRINT

    移除29条:
    android.permission.ACCESS_MOCK_LOCATION
    android.permission.ACCESS_SURFACE_FLINGER
    android.permission.AUTHENTICATE_ACCOUNTS
    android.permission.BRICK
    android.permission.CLEAR_APP_USER_DATA
    android.permission.DEVICE_POWER
    android.permission.FORCE_BACK
    android.permission.GET_TOP_ACTIVITY_INFO
    android.permission.HARDWARE_TEST
    android.permission.INJECT_EVENTS
    android.permission.INTERNAL_SYSTEM_WINDOW
    android.permission.MANAGE_ACCOUNTS
    android.permission.MANAGE_APP_TO android.permission.READ_HISTORY_BOOKMARKS KENS
    android.permission.READ_PROFILE
    android.permission.READ_SOCIAL_STREAM
    android.permission.READ_USER_DICTIONARY
    android.permission.SET_ACTIVITY_WATCHER
    android.permission.SET_ORIENTATION
    android.permission.SET_POINTER_SPEED
    android.permission.SUBSCRIBED_FEEDS_READ
    android.permission.SUBSCRIBED_FEEDS_WRITE
    android.permission.USE_CREDENTIALS
    android.permission.WRITE_HISTORY_BOOKMARKS
    android.permission.WRITE_PROFILE
    android.permission.WRITE_SMS
    android.permission.WRITE_SOCIAL_STREAM
    android.permission.WRITE_USER_DICTIONARY

    废弃1条:
    android.permission.BIND_CARRIER_MESSAGING_SERVICE

    23 => 24

    新增4条:
    android.permission.BIND_CONDITION_PROVIDER_SERVICE
    android.permission.BIND_QUICK_SETTINGS_TILE
    android.permission.BIND_SCREENING_SERVICE
    android.permission.BIND_VR_LISTENER_SERVICE

    移除1条:
    android.permission.FLASHLIGHT

    24 => 25

    无变化

    25 => 26

    新增9条:
    android.permission.ANSWER_PHONE_CALLS
    android.permission.BIND_AUTOFILL_SERVICE
    android.permission.BIND_VISUAL_VOICEMAIL_SERVICE
    android.permission.INSTANT_APP_FOREGROUND_SERVICE
    android.permission.MANAGE_OWN_CALLS
    android.permission.READ_PHONE_NUMBERS
    android.permission.REQUEST_COMPANION_RUN_IN_BACKGROUND
    android.permission.REQUEST_COMPANION_USE_DATA_IN_BACKGROUND
    android.permission.REQUEST_DELETE_PACKAGES

    26 => 27

    无变化

    相关文章

      网友评论

          本文标题:Android版本变化而产生的权限变更

          本文链接:https://www.haomeiwen.com/subject/sqpjgxtx.html