Skip to content
  • Hans-Christoph Steiner's avatar
    support extended 'uses-permissions' tags in APKs · 6f0c9ff8
    Hans-Christoph Steiner authored
    <uses-permissions/> tags can have min and max SDK to take effect.  This is
    not supported currently, and it necessary especially with the privileged
    installer so it can properly represent the permissions that an APK is
    requesting.
    
    For example:
    <uses-permission
      android:name="android.permission.MANAGE_ACCOUNTS"
      android:maxSdkVersion="22" />
    <uses-permission-sdk-23
      android:name="android.permission.CAMERA" />
    <uses-permission-sdk-23
      android:name="android.permission.CALL_PHONE"
      android:maxSdkVersion="23" />
    6f0c9ff8