From 63b1ab12f614cefbff8b2c72fac82434fd8c8de9 Mon Sep 17 00:00:00 2001 From: Nathan Harold Date: Wed, 2 Jan 2019 20:39:06 -0800 Subject: [PATCH 1/2] Fix BandMode Dialog Crash on Open due to Style This sidesteps an error saying that the radio BandMode activity must inherit from an AppCompat style. Instead the window is now full-screen and matches the theme of the RadioInfo menu. Bug: 117571514 Test: manual - open the activity without a crash and verify that the new style change is effective. Change-Id: I6e49d731e039709db43dfa6531723781e9e48640 --- AndroidManifest.xml | 3 +-- res/layout/band_mode.xml | 2 +- src/com/android/settings/BandMode.java | 5 ----- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 17f83035463..6532f193677 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -2172,9 +2172,8 @@ - diff --git a/res/layout/band_mode.xml b/res/layout/band_mode.xml index ddbc7ae8951..b43dd1d70a4 100644 --- a/res/layout/band_mode.xml +++ b/res/layout/band_mode.xml @@ -19,7 +19,7 @@ android:padding="4dip" android:gravity="center_horizontal" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="wrap_content"> Date: Tue, 8 Jan 2019 09:43:22 -0500 Subject: [PATCH 2/2] Charging sounds toggle now includes vibration Add text to indicate the charging sounds toggle also includes vibration Test: manual, builds Bug: 29737261 Change-Id: I55e35ea63b8e80aa5573ef676fdde4b28bc0f654 --- res/values/strings.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index cbdedf0cbde..7e628e61974 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -7127,8 +7127,8 @@ Screen locking sounds - - Charging sounds + + Charging sounds and vibration Docking sounds