From 1d7e050bc6492c10b5ff3e02d7621cd8902aa096 Mon Sep 17 00:00:00 2001 From: Vinit Nayak Date: Wed, 11 Jan 2023 21:29:37 -0800 Subject: [PATCH] Respect nav button tinting in SUW * Check was originally added with rationale in b/204384193#comment26, however presently we do provide insets to SUW as of b/253538830 so looks like now we are getting the correct info from SysUI * There is a possibly related issue where buttons are not tinted correctly on the final page of SUW (b/265238238) Test: Went through setup manually via adb and observed that on light theme with dark dialog scrim the button changes color adb shell am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity Bug: 256521774 Change-Id: I080033e21d22fbc366b7248b2d647fec610a5fb9 --- .../com/android/launcher3/taskbar/TaskbarActivityContext.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java index 731eea78e9..4e795d9090 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java @@ -598,9 +598,6 @@ public class TaskbarActivityContext extends BaseTaskbarContext { } public void onNavButtonsDarkIntensityChanged(float darkIntensity) { - if (!isUserSetupComplete()) { - return; - } mControllers.navbarButtonsViewController.getTaskbarNavButtonDarkIntensity() .updateValue(darkIntensity); }