Remove dead ACTION_DATA_CONNECTION_CONNECTED_TO_PROVISIONING_APN
I centralized all the provisioning APN logic in Telephony back in
89e0f09 so this intent is now unused.
Bug:24451710
Change-Id: I401ac3e46442c8921545c88fee228873261ebd2b
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 148e7c1..5e9baa2 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -241,7 +241,6 @@
<protected-broadcast android:name="android.intent.action.DREAMING_STARTED" />
<protected-broadcast android:name="android.intent.action.DREAMING_STOPPED" />
<protected-broadcast android:name="android.intent.action.ANY_DATA_STATE" />
- <protected-broadcast android:name="android.intent.action.DATA_CONNECTION_CONNECTED_TO_PROVISIONING_APN" />
<protected-broadcast android:name="com.android.server.WifiManager.action.START_SCAN" />
<protected-broadcast android:name="com.android.server.WifiManager.action.START_PNO" />
diff --git a/telephony/java/com/android/internal/telephony/TelephonyIntents.java b/telephony/java/com/android/internal/telephony/TelephonyIntents.java
index f563839..d2e4de3 100644
--- a/telephony/java/com/android/internal/telephony/TelephonyIntents.java
+++ b/telephony/java/com/android/internal/telephony/TelephonyIntents.java
@@ -144,28 +144,6 @@
= "android.intent.action.ANY_DATA_STATE";
/**
- * Broadcast Action: Occurs when a data connection connects to a provisioning apn
- * and is broadcast by the low level data connection code.
- * The intent will have the following extra values:</p>
- * <dl>
- * <dt>apn</dt><dd>A string that is the APN associated with this connection.</dd>
- * <dt>apnType</dt><dd>A string array of APN types associated with this connection.
- * The APN type {@code *} is a special type that means this APN services all types.</dd>
- * <dt>linkProperties</dt><dd>{@code LinkProperties} for this APN.</dd>
- * <dt>linkCapabilities</dt><dd>The {@code LinkCapabilities} for this APN.</dd>
- * <dt>iface</dt><dd>A string that is the name of the interface.</dd>
- * </dl>
- *
- * <p class="note">
- * Requires the READ_PHONE_STATE permission.
- *
- * <p class="note">This is a protected intent that can only be sent
- * by the system.
- */
- public static final String ACTION_DATA_CONNECTION_CONNECTED_TO_PROVISIONING_APN
- = "android.intent.action.DATA_CONNECTION_CONNECTED_TO_PROVISIONING_APN";
-
- /**
* Broadcast Action: An attempt to establish a data connection has failed.
* The intent will have the following extra values:</p>
* <dl>