From 2b77d7460ccebd97826529f186596df14050f0ae Mon Sep 17 00:00:00 2001 From: Nathan Harold Date: Sat, 19 Mar 2016 13:22:10 -0700 Subject: [PATCH] Cleanup RadioInfo Test Menu -Convert multi-mode buttons to toggle switches to reduce confusion. -Remove long-deprecated PhoneStateIntentReceiver references and convert all functions to use PhoneStateListener -Remove vestigial menu items that no longer reference working system properties or code -Add new ARFCN/UARFCN/EARFCN fields to CellInfo Display -Convert CellInfoListRate to a Dropdown menu -Fixed bugs with screen rotation that caused network preferences to change (and could crash the radio) -Fixed bugs related to onResume not updating values correctly -Re-ordered menu items to group like-items together -Minor string edits for clarity, correctness, and consistency Change-Id: Ied5ed7a250682ee3327e51884d80ee4f3a7eb913 --- res/layout/radio_info.xml | 255 +++++------ res/values/strings.xml | 102 ++--- src/com/android/settings/RadioInfo.java | 582 +++++++++--------------- 3 files changed, 375 insertions(+), 564 deletions(-) diff --git a/res/layout/radio_info.xml b/res/layout/radio_info.xml index 16bf0f68ddf..c64b68e544e 100644 --- a/res/layout/radio_info.xml +++ b/res/layout/radio_info.xml @@ -41,6 +41,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +