summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-11-11 19:09:56 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-11-11 19:09:56 -0800
commit532d56034532809da7691059742371c1b4d0656c (patch)
treea784a13b10d415830163b184823a7a285f778377 /core/java/android
parent001e5242c8a801664ea454a2ed6d4fddb600157a (diff)
parent362d5b9b6429a2766f5b980d2010262135788ad8 (diff)
downloadframeworks_base-532d56034532809da7691059742371c1b4d0656c.zip
frameworks_base-532d56034532809da7691059742371c1b4d0656c.tar.gz
frameworks_base-532d56034532809da7691059742371c1b4d0656c.tar.bz2
Merge change I80022375 into eclair
* changes: Fix issue #2256032: Change CONFIGURATION_CHANGED and add a locale changed broadcast
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/content/Intent.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index b785dbf..c676a5b 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -1344,6 +1344,12 @@ public class Intent implements Parcelable {
* can not be restarted will need to watch for this action and handle it
* appropriately.
*
+ * <p class="note">
+ * You can <em>not</em> receive this through components declared
+ * in manifests, only by explicitly registering for it with
+ * {@link Context#registerReceiver(BroadcastReceiver, IntentFilter)
+ * Context.registerReceiver()}.
+ *
* <p class="note">This is a protected intent that can only be sent
* by the system.
*
@@ -1352,6 +1358,14 @@ public class Intent implements Parcelable {
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
public static final String ACTION_CONFIGURATION_CHANGED = "android.intent.action.CONFIGURATION_CHANGED";
/**
+ * Broadcast Action: The current device's locale has changed.
+ *
+ * <p class="note">This is a protected intent that can only be sent
+ * by the system.
+ */
+ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
+ public static final String ACTION_LOCALE_CHANGED = "android.intent.action.LOCALE_CHANGED";
+ /**
* Broadcast Action: This is a <em>sticky broadcast</em> containing the
* charging state, level, and other information about the battery.
* See {@link android.os.BatteryManager} for documentation on the