Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b80c879c authored by fionaxu's avatar fionaxu
Browse files

renaming telephony internal hidden intents

The "android.*" namespace for intent constants is reserved for public
Android API in AOSP. (Whether public to the full SDK, @SystemApi or
defined in AOSP support libraries.) Implementation details of AOSP
components (subject to change by OEMs at will) should use the
"com.android.internal.*" as per CDD

Bug: 33679454
Test: manual
Change-Id: I72ed2760a6ddb0bba61cc8041cea57d5f28b7c15
parent 97fca8c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@
    <application android:label="@string/app_name" >
        <receiver android:name="com.android.carrierdefaultapp.CarrierDefaultBroadcastReceiver">
            <intent-filter>
                <action android:name="android.intent.action.CARRIER_SIGNAL_REDIRECTED" />
                <action android:name="com.android.internal.telephony.CARRIER_SIGNAL_REDIRECTED" />
            </intent-filter>
        </receiver>
        <activity android:name="com.android.carrierdefaultapp.CaptivePortalLaunchActivity"
+3 −3
Original line number Diff line number Diff line
@@ -411,7 +411,7 @@ public class TelephonyIntents {
     * <p class="note">This is a protected intent that can only be sent by the system.</p>
     */
    public static final String ACTION_CARRIER_SIGNAL_REDIRECTED =
            "android.intent.action.CARRIER_SIGNAL_REDIRECTED";
            "com.android.internal.telephony.CARRIER_SIGNAL_REDIRECTED";
    /**
     * <p>Broadcast Action: when data connections setup fails.
     * intended for sim/account status checks and only sent to the specified carrier app
@@ -424,7 +424,7 @@ public class TelephonyIntents {
     * <p class="note">This is a protected intent that can only be sent by the system. </p>
     */
    public static final String ACTION_CARRIER_SIGNAL_REQUEST_NETWORK_FAILED =
            "android.intent.action.CARRIER_SIGNAL_REQUEST_NETWORK_FAILED";
            "com.android.internal.telephony.CARRIER_SIGNAL_REQUEST_NETWORK_FAILED";

    /**
     * <p>Broadcast Action: when pco value is available.
@@ -441,7 +441,7 @@ public class TelephonyIntents {
     * <p class="note">This is a protected intent that can only be sent by the system. </p>
     */
    public static final String ACTION_CARRIER_SIGNAL_PCO_VALUE =
            "android.intent.action.CARRIER_SIGNAL_PCO_VALUE";
            "com.android.internal.telephony.CARRIER_SIGNAL_PCO_VALUE";

    // CARRIER_SIGNAL_ACTION extra keys
    public static final String EXTRA_REDIRECTION_URL_KEY = "redirectionUrl";