summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chen Xu <fionaxu@google.com> 2020-10-07 14:27:19 -0700
committer Chen Xu <fionaxu@google.com> 2020-10-07 21:28:50 +0000
commit8c4983fd632aedd4f8d929f2642d5424ada32b70 (patch)
tree3fef113bc8c62f49e65bc28bd45796aa861d9840
parent9aa9ebde678c6fee6f8ae56f3918359b1ae7fbcd (diff)
area info update improvement
when users disable areaInfo toggle from CBR, clear areaInfos and notify listeners that area info updated so that settings and systemUI could refresh the UI instead of showing outdated area info. Bug: 162475765 Test: Manual Change-Id: I8c2b29750817a71165adff3ee64c96249e9d7380
-rw-r--r--core/java/android/telephony/CellBroadcastIntents.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/telephony/CellBroadcastIntents.java b/core/java/android/telephony/CellBroadcastIntents.java
index e07f69a98a85..c3ca2866c71c 100644
--- a/core/java/android/telephony/CellBroadcastIntents.java
+++ b/core/java/android/telephony/CellBroadcastIntents.java
@@ -45,7 +45,8 @@ public class CellBroadcastIntents {
private static final String EXTRA_MESSAGE = "message";
/**
- * Broadcast intent action for notifying area information has been updated. The information
+ * Broadcast intent action for notifying area information has been updated. broadcast is also
+ * sent when the user turns off area info alerts. The information
* can be retrieved by {@link CellBroadcastService#getCellBroadcastAreaInfo(int)}. The
* associated SIM slot index of updated area information can be retrieved through the extra
* {@link SubscriptionManager#EXTRA_SLOT_INDEX}.