From 6ef170ecd4232e9b81ba090740819e327b67efe1 Mon Sep 17 00:00:00 2001 From: Daniel Roschka Date: Fri, 6 Mar 2020 20:09:46 +0100 Subject: [PATCH 1/2] Remove bluetooth max devices with defaults The only occurrence of `config_bluetooth_max_connected_audio_devices` was set to the [default value in AOSP][1], so this commit removes this unneccessary property and blacklists it. [1]: https://github.com/aosp-mirror/platform_frameworks_base/blob/0dae8d78f007cf5d30b1a97b767976e5bee1f4f8/core/res/res/values/config.xml#L1930 --- Xiaomi/RedmiNote8Pro/res/values/config.xml | 1 - tests/blacklist | 1 + tests/knownKeys | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Xiaomi/RedmiNote8Pro/res/values/config.xml b/Xiaomi/RedmiNote8Pro/res/values/config.xml index 05ac90d..c27fef2 100644 --- a/Xiaomi/RedmiNote8Pro/res/values/config.xml +++ b/Xiaomi/RedmiNote8Pro/res/values/config.xml @@ -176,7 +176,6 @@ 250 0 0 - 5 0 0 0 diff --git a/tests/blacklist b/tests/blacklist index f4ba92f..f7d2060 100644 --- a/tests/blacklist +++ b/tests/blacklist @@ -1,5 +1,6 @@ config_useRoundIcon config_swipe_up_gesture_setting_available +config_bluetooth_max_connected_audio_devices config_cameraDoubleTapPowerGestureEnabled config_doublePressOnPowerBehavior config_dozeComponent diff --git a/tests/knownKeys b/tests/knownKeys index 4b0390d..8cb8a33 100644 --- a/tests/knownKeys +++ b/tests/knownKeys @@ -124,5 +124,4 @@ config_screen_magnification_multi_tap_adjustment quick_qs_offset_height wifi_tether_configure_ssid_default wifi_localhotspot_configure_ssid_default -config_bluetooth_max_connected_audio_devices config_defaultPeakRefreshRate From c0c253a8418805bc088418257d3d9a5f874deb80 Mon Sep 17 00:00:00 2001 From: Daniel Roschka Date: Fri, 6 Mar 2020 20:13:15 +0100 Subject: [PATCH 2/2] Remove magnification tap adjustment property All occurrences of `config_screen_magnification_multi_tap_adjustment` were set to the [default value in AOSP][1], so this commit removes this unneccessary usages and blacklists the property. [1]: https://github.com/aosp-mirror/platform_frameworks_base/blob/0dae8d78f007cf5d30b1a97b767976e5bee1f4f8/core/res/res/values/config.xml#L3131 --- Xiaomi/RedmiNote7/res/values/config.xml | 1 - Xiaomi/RedmiNote8Pro/res/values/config.xml | 1 - tests/blacklist | 1 + tests/knownKeys | 1 - 4 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Xiaomi/RedmiNote7/res/values/config.xml b/Xiaomi/RedmiNote7/res/values/config.xml index 69e97f3..ddd3cfc 100644 --- a/Xiaomi/RedmiNote7/res/values/config.xml +++ b/Xiaomi/RedmiNote7/res/values/config.xml @@ -108,5 +108,4 @@ -1 100 3300 - -50 diff --git a/Xiaomi/RedmiNote8Pro/res/values/config.xml b/Xiaomi/RedmiNote8Pro/res/values/config.xml index c27fef2..b107de0 100644 --- a/Xiaomi/RedmiNote8Pro/res/values/config.xml +++ b/Xiaomi/RedmiNote8Pro/res/values/config.xml @@ -193,6 +193,5 @@ 128 255 3 - -50 600 diff --git a/tests/blacklist b/tests/blacklist index f7d2060..743424d 100644 --- a/tests/blacklist +++ b/tests/blacklist @@ -6,5 +6,6 @@ config_doublePressOnPowerBehavior config_dozeComponent config_enableAutoPowerModes config_mainBuiltInDisplayIsRound +config_screen_magnification_multi_tap_adjustment config_swipe_up_gesture_default config_allowAllRotations diff --git a/tests/knownKeys b/tests/knownKeys index 8cb8a33..c4c47c1 100644 --- a/tests/knownKeys +++ b/tests/knownKeys @@ -120,7 +120,6 @@ config_screenBrightnessForVrSettingDefault config_screenBrightnessForVrSettingMinimum config_screenBrightnessForVrSettingMaximum config_screenAutoBrightnessDozeScaleFactor -config_screen_magnification_multi_tap_adjustment quick_qs_offset_height wifi_tether_configure_ssid_default wifi_localhotspot_configure_ssid_default