From 1721d0f276d3c208af15cfbb10b287604074e072 Mon Sep 17 00:00:00 2001 From: Shen Lin Date: Wed, 11 Jan 2023 11:04:08 +0800 Subject: [PATCH] Amend "Reset notification importance" list item style Using LayoutPreference here makes list look like abrupt, we would like to switch to normal Preference to align listitem style. Bug: 265062898 Test: atest ImportanceResetPreferenceControllerTest -c Change-Id: I93961de148915699d2cba46bdba71e667e8ea10a --- res/layout/reset_importance_button.xml | 33 ------------------- res/xml/development_settings.xml | 4 +-- .../ImportanceResetPreferenceController.java | 25 +++++--------- ...portanceResetPreferenceControllerTest.java | 15 ++++----- 4 files changed, 15 insertions(+), 62 deletions(-) delete mode 100644 res/layout/reset_importance_button.xml diff --git a/res/layout/reset_importance_button.xml b/res/layout/reset_importance_button.xml deleted file mode 100644 index 6d023b93913..00000000000 --- a/res/layout/reset_importance_button.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - -