Add a periodic check of the tethering provisioning
Add a service that handles the check through broadcasts which are
defined through configs, similar to the previous configs for the
activity.
Depends on I1f6e2d954562c5a16a0de60dac625005ec3e5c50
Bug: 18453076
Change-Id: I515d72706e9ca37877e67c44427af1b75b146390
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 89d696d..83feb28 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -351,9 +351,15 @@
</intent-filter>
</activity>
- <activity android:name=".EnableWifiTether"
- android:theme="@style/Transparent"
- android:excludeFromRecents="true" />
+ <service android:name=".TetherService"
+ android:exported="true"
+ android:permission="android.permission.CONNECTIVITY_INTERNAL" />
+ <receiver
+ android:name=".HotspotOffReceiver" >
+ <intent-filter>
+ <action android:name="android.net.wifi.WIFI_AP_STATE_CHANGED" />
+ </intent-filter>
+ </receiver>
<activity android:name="Settings$TetherSettingsActivity"
android:label="@string/tether_settings_title_all"