android-in-china / Compatibility

用于反馈和跟踪国内 Android 设备/ROM 兼容性问题的公益项目
836 stars 30 forks source link

小米 无法使用自定义的 dangerous 级别的权限 #16

Open haruue opened 5 years ago

haruue commented 5 years ago
Sulaiman739 commented 2 years ago

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.myapp" >

<permission
  android:name="com.example.myapp.permission.DEADLY_ACTIVITY"
  android:label="@string/permlab_deadlyActivity"
  android:description="@string/permdesc_deadlyActivity"
  android:permissionGroup="android.permission-group.COST_MONEY"
  android:protectionLevel="dangerous" />
...