summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorJake Hamby <jhamby@google.com>2012-12-03 17:24:30 -0800
committerJake Hamby <jhamby@google.com>2012-12-04 18:18:55 -0800
commitbc5d9271a9d36ecf07ac35e1635f36679074de6f (patch)
treebfb3361b926147295422353fc30a944aa731aee5 /res/xml
parentd2bd59f5e8e2359e6697dd8975ccfd1aa36b4103 (diff)
downloadpackages_apps_settings-bc5d9271a9d36ecf07ac35e1635f36679074de6f.zip
packages_apps_settings-bc5d9271a9d36ecf07ac35e1635f36679074de6f.tar.gz
packages_apps_settings-bc5d9271a9d36ecf07ac35e1635f36679074de6f.tar.bz2
Add latest area info broadcast to Settings status screen.
When the SIM has a Brazilian country code, add an item to the status screen to show the most recently received area info cell broadcast, requested from CellBroadcastReceiver, which also broadcasts any updates to the area info. To read the area info broadcast or request it from CellBroadcastReceiver requires READ_PHONE_STATE permission. Bug: 7445881 Change-Id: I387e23ecd0802b212ecb3e44f900a3a7a4b27e76
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/device_info_status.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/res/xml/device_info_status.xml b/res/xml/device_info_status.xml
index aaa90a9..38a3e80 100644
--- a/res/xml/device_info_status.xml
+++ b/res/xml/device_info_status.xml
@@ -42,6 +42,11 @@
android:title="@string/status_network_type"
android:summary="@string/device_info_not_available"
android:persistent="false" />
+ <Preference android:key="latest_area_info"
+ style="?android:attr/preferenceInformationStyle"
+ android:title="@string/status_latest_area_info"
+ android:summary="@string/device_info_not_available"
+ android:persistent="false" />
<Preference android:key="service_state"
style="?android:attr/preferenceInformationStyle"
android:title="@string/status_service_state"