Merge "Make ACCESS_USB permission for applications to access USB devices:"
This commit is contained in:
committed by
Android (Google) Code Review
commit
ca44622763
@@ -111,6 +111,17 @@
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="ACCESS_USB"
|
||||
type="java.lang.String"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value=""android.permission.ACCESS_USB""
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="ACCESS_WIFI_STATE"
|
||||
type="java.lang.String"
|
||||
transient="false"
|
||||
|
||||
@@ -464,11 +464,10 @@
|
||||
android:label="@string/permlab_flashlight"
|
||||
android:description="@string/permdesc_flashlight" />
|
||||
|
||||
<!-- Allows an application to access USB devices
|
||||
@hide -->
|
||||
<!-- Allows an application to access USB devices -->
|
||||
<permission android:name="android.permission.ACCESS_USB"
|
||||
android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
|
||||
android:protectionLevel="signatureOrSystem"
|
||||
android:protectionLevel="normal"
|
||||
android:label="@string/permlab_accessUsb"
|
||||
android:description="@string/permdesc_accessUsb" />
|
||||
|
||||
|
||||
@@ -58,10 +58,6 @@
|
||||
<group gid="sdcard_rw" />
|
||||
</permission>
|
||||
|
||||
<permission name="android.permission.ACCESS_USB" >
|
||||
<group gid="usb" />
|
||||
</permission>
|
||||
|
||||
<permission name="android.permission.ACCESS_MTP" >
|
||||
<group gid="mtp" />
|
||||
</permission>
|
||||
|
||||
Reference in New Issue
Block a user