From c8217581502946ce24f39d8794f847a8028de4c2 Mon Sep 17 00:00:00 2001 From: Mike Digman Date: Tue, 6 Mar 2018 13:08:33 -0800 Subject: [PATCH] Apply prior tint to rotate icon on recreation In very rare circumstances, it's possible for the rotate icon to be recreated but not have the dark intensity set. Fix this by applying prior icon's intensity. Test: manual but heisenbug so very hard to validate Fixes: 74354524 Change-Id: I042de35e725794b04f5250fa3a2fc5a54d65d143 --- .../statusbar/phone/NavigationBarView.java | 11 +++++++++-- .../policy/TintedKeyButtonDrawable.java | 17 ++++++++++++++++- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java index 74fbed1b0da75..6e601794e1f43 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java @@ -117,7 +117,7 @@ public class NavigationBarView extends FrameLayout implements PluginListener