Add conditionals to Settings
Also add Airplane Mode and Hotspot conditionals (more to come soon)
Change-Id: I11f206db59f7c715f416fb5852b8f0fcb857a247
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 3bbc667..c83002a 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -2656,5 +2656,22 @@
</intent-filter>
</activity>
+ <!-- Conditional receivers, only enabled during silenced state, default off-->
+ <receiver
+ android:name=".dashboard.conditional.HotspotCondition$Receiver"
+ android:enabled="false">
+ <intent-filter>
+ <action android:name="android.net.wifi.WIFI_AP_STATE_CHANGED" />
+ </intent-filter>
+ </receiver>
+
+ <receiver
+ android:name=".dashboard.conditional.AirplaneModeCondition$Receiver"
+ android:enabled="false">
+ <intent-filter>
+ <action android:name="android.intent.action.AIRPLANE_MODE" />
+ </intent-filter>
+ </receiver>
+
</application>
</manifest>