From 8c4983fd632aedd4f8d929f2642d5424ada32b70 Mon Sep 17 00:00:00 2001 From: Chen Xu Date: Wed, 7 Oct 2020 14:27:19 -0700 Subject: 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 --- core/java/android/telephony/CellBroadcastIntents.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}. -- cgit v1.2.3-59-g8ed1b