From eb52aa2d403e75f2f41c1e89341a766afb39300d Mon Sep 17 00:00:00 2001 From: Fabian Kozynski Date: Fri, 11 Feb 2022 11:22:24 -0500 Subject: [PATCH] Remove tuner icon from settings button This removes a two-way call to system_server in the main thread. The only way to enable the tuner right now is through adb and it's largely not used, so removing this indicator is not a big loss. Fixes: 207257090 Test: atest FooterActionsControllerTest Change-Id: If03c697f97a6c155122be98e369da66d2617069b --- .../res-keyguard/layout/footer_actions.xml | 10 ------- .../layout/new_footer_actions.xml | 10 ------- .../systemui/qs/FooterActionsController.kt | 26 ++--------------- .../android/systemui/qs/FooterActionsView.kt | 28 ++----------------- .../systemui/tuner/TunerServiceImpl.java | 3 ++ .../qs/FooterActionsControllerTest.kt | 10 ++----- 6 files changed, 10 insertions(+), 77 deletions(-) diff --git a/packages/SystemUI/res-keyguard/layout/footer_actions.xml b/packages/SystemUI/res-keyguard/layout/footer_actions.xml index 339cab42048ba..fb401ee1d9181 100644 --- a/packages/SystemUI/res-keyguard/layout/footer_actions.xml +++ b/packages/SystemUI/res-keyguard/layout/footer_actions.xml @@ -77,16 +77,6 @@ android:src="@drawable/ic_settings" android:tint="?android:attr/textColorPrimary" /> - - \ No newline at end of file diff --git a/packages/SystemUI/res-keyguard/layout/new_footer_actions.xml b/packages/SystemUI/res-keyguard/layout/new_footer_actions.xml index 4884df7f838e7..59712c088f7a2 100644 --- a/packages/SystemUI/res-keyguard/layout/new_footer_actions.xml +++ b/packages/SystemUI/res-keyguard/layout/new_footer_actions.xml @@ -78,16 +78,6 @@ android:src="@drawable/ic_settings" android:tint="?android:attr/textColorPrimary" /> - -