From bc5d9271a9d36ecf07ac35e1635f36679074de6f Mon Sep 17 00:00:00 2001 From: Jake Hamby Date: Mon, 3 Dec 2012 17:24:30 -0800 Subject: [PATCH] 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 --- res/values/strings.xml | 2 + res/xml/device_info_status.xml | 5 ++ .../android/settings/deviceinfo/Status.java | 65 +++++++++++++++++-- 3 files changed, 67 insertions(+), 5 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index ac15688df21..b5c04b09ae7 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1914,6 +1914,8 @@ ICCID Mobile network type + + Operator info Mobile network state diff --git a/res/xml/device_info_status.xml b/res/xml/device_info_status.xml index aaa90a92032..38a3e80fb27 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" /> +