Merge "[WifiDialog] Guard with CHANGE_WIFI permission"

This commit is contained in:
Maurice Lam
2015-10-30 17:17:57 +00:00
committed by Android (Google) Code Review

View File

@@ -2495,7 +2495,8 @@
<activity android:name=".wifi.WifiDialogActivity" <activity android:name=".wifi.WifiDialogActivity"
android:theme="@style/Transparent" android:theme="@style/Transparent"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:exported="true"> android:exported="true"
android:permission="android.permission.CHANGE_WIFI_STATE">
<intent-filter> <intent-filter>
<action android:name="com.android.settings.WIFI_DIALOG" /> <action android:name="com.android.settings.WIFI_DIALOG" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />