Lower protection level of WiFi state change permissions.
bug:21724236 Change-Id: Ib2305bf8a6be62fe6b00d9bccc7685100edba9ba
This commit is contained in:
@@ -922,7 +922,7 @@
|
|||||||
<permission android:name="android.permission.CHANGE_WIFI_STATE"
|
<permission android:name="android.permission.CHANGE_WIFI_STATE"
|
||||||
android:description="@string/permdesc_changeWifiState"
|
android:description="@string/permdesc_changeWifiState"
|
||||||
android:label="@string/permlab_changeWifiState"
|
android:label="@string/permlab_changeWifiState"
|
||||||
android:protectionLevel="dangerous" />
|
android:protectionLevel="normal" />
|
||||||
|
|
||||||
<!-- @SystemApi @hide Allows applications to read Wi-Fi credential.
|
<!-- @SystemApi @hide Allows applications to read Wi-Fi credential.
|
||||||
<p>Not for use by third-party applications. -->
|
<p>Not for use by third-party applications. -->
|
||||||
@@ -952,7 +952,7 @@
|
|||||||
<permission android:name="android.permission.CHANGE_WIMAX_STATE"
|
<permission android:name="android.permission.CHANGE_WIMAX_STATE"
|
||||||
android:description="@string/permdesc_changeWimaxState"
|
android:description="@string/permdesc_changeWimaxState"
|
||||||
android:label="@string/permlab_changeWimaxState"
|
android:label="@string/permlab_changeWimaxState"
|
||||||
android:protectionLevel="dangerous" />
|
android:protectionLevel="normal" />
|
||||||
|
|
||||||
<!--@SystemApi Allows applications to the the local WiFi and Bluetooth MAC address.
|
<!--@SystemApi Allows applications to the the local WiFi and Bluetooth MAC address.
|
||||||
@hide
|
@hide
|
||||||
@@ -1057,7 +1057,7 @@
|
|||||||
<permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
|
<permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
|
||||||
android:description="@string/permdesc_changeWifiMulticastState"
|
android:description="@string/permdesc_changeWifiMulticastState"
|
||||||
android:label="@string/permlab_changeWifiMulticastState"
|
android:label="@string/permlab_changeWifiMulticastState"
|
||||||
android:protectionLevel="dangerous" />
|
android:protectionLevel="normal" />
|
||||||
|
|
||||||
<!-- Allows access to the vibrator -->
|
<!-- Allows access to the vibrator -->
|
||||||
<permission android:name="android.permission.VIBRATE"
|
<permission android:name="android.permission.VIBRATE"
|
||||||
|
|||||||
Reference in New Issue
Block a user