summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2015-04-03 17:31:19 +0900
committerLorenzo Colitti <lorenzo@google.com>2015-04-15 15:24:20 +0900
commit877b054bfe4d27862165246d46f3cfda13bd4fe4 (patch)
tree396c7a46ff5c382783afc5c73c378611eb3d2a39 /AndroidManifest.xml
parent2949a4ab4d342a315420ccda07c02075edccd4f0 (diff)
downloadpackages_apps_Settings-877b054bfe4d27862165246d46f3cfda13bd4fe4.tar.gz
packages_apps_Settings-877b054bfe4d27862165246d46f3cfda13bd4fe4.tar.bz2
packages_apps_Settings-877b054bfe4d27862165246d46f3cfda13bd4fe4.zip
Dialog box for networks without an Internet connection
Bug: 20081183 Change-Id: If4866a341382fa37745ae5aa2d10372f052d5dd6
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 9ed8fabba..a8f285ea7 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -309,6 +309,19 @@
</intent-filter>
</activity>
+ <activity android:name=".wifi.WifiNoInternetDialog"
+ android:clearTaskOnLaunch="true"
+ android:excludeFromRecents="true"
+ android:exported="true"
+ android:permission="android.permission.CONNECTIVITY_INTERNAL"
+ android:taskAffinity=""
+ android:theme="@*android:style/Theme.Material.Light.Dialog.Alert">
+ <intent-filter>
+ <action android:name="android.net.conn.PROMPT_UNVALIDATED" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
<!-- Suspect activity alias: targetActivity is Settings itself, does not define a name. Remove? -->
<activity-alias android:name=".wifi.WifiApSettings"
android:targetActivity="Settings">