Add a TetherProvisioningActivity for ui-based provisioning.
This activity acts as a proxy between Tethering.java and the oem
provisioning app on the device. It starts the provisioning app and
relays the response back to a ResultReceiver callback.
BUG:26247383
Change-Id: I35fa6cf45f8ebacceac3e3500b89c798a650caf0
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 4366b0b..b661a1e 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -454,6 +454,17 @@
<service android:name=".TetherService"
android:exported="true"
android:permission="android.permission.TETHER_PRIVILEGED" />
+
+ <activity android:name="TetherProvisioningActivity"
+ android:exported="true"
+ android:permission="android.permission.TETHER_PRIVILEGED"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar">
+ <intent-filter android:priority="1">
+ <action android:name="android.settings.TETHER_PROVISIONING_UI" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
<receiver
android:name=".HotspotOffReceiver" >
<intent-filter>