From b80c879c910ef43b39831bc40056baaec2dca2f4 Mon Sep 17 00:00:00 2001 From: fionaxu Date: Fri, 10 Feb 2017 16:08:02 -0800 Subject: [PATCH] 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 --- packages/CarrierDefaultApp/AndroidManifest.xml | 2 +- .../com/android/internal/telephony/TelephonyIntents.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/CarrierDefaultApp/AndroidManifest.xml b/packages/CarrierDefaultApp/AndroidManifest.xml index e2080b08c4dfa..d9109202f916a 100644 --- a/packages/CarrierDefaultApp/AndroidManifest.xml +++ b/packages/CarrierDefaultApp/AndroidManifest.xml @@ -31,7 +31,7 @@ - + This is a protected intent that can only be sent by the system.

*/ public static final String ACTION_CARRIER_SIGNAL_REDIRECTED = - "android.intent.action.CARRIER_SIGNAL_REDIRECTED"; + "com.android.internal.telephony.CARRIER_SIGNAL_REDIRECTED"; /** *

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 { *

This is a protected intent that can only be sent by the system.

*/ 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"; /** *

Broadcast Action: when pco value is available. @@ -441,7 +441,7 @@ public class TelephonyIntents { *

This is a protected intent that can only be sent by the system.

*/ 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";