Loading packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ContextualButton.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -51,7 +51,7 @@ public class ContextualButton extends ButtonDispatcher { * Reload the drawable from resource id, should reapply the previous dark intensity. * Reload the drawable from resource id, should reapply the previous dark intensity. */ */ public void updateIcon(int lightIconColor, int darkIconColor) { public void updateIcon(int lightIconColor, int darkIconColor) { if (getCurrentView() == null || !getCurrentView().isAttachedToWindow() || mIconResId == 0) { if (mIconResId == 0) { return; return; } } final KeyButtonDrawable currentDrawable = getImageDrawable(); final KeyButtonDrawable currentDrawable = getImageDrawable(); Loading Loading
packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ContextualButton.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -51,7 +51,7 @@ public class ContextualButton extends ButtonDispatcher { * Reload the drawable from resource id, should reapply the previous dark intensity. * Reload the drawable from resource id, should reapply the previous dark intensity. */ */ public void updateIcon(int lightIconColor, int darkIconColor) { public void updateIcon(int lightIconColor, int darkIconColor) { if (getCurrentView() == null || !getCurrentView().isAttachedToWindow() || mIconResId == 0) { if (mIconResId == 0) { return; return; } } final KeyButtonDrawable currentDrawable = getImageDrawable(); final KeyButtonDrawable currentDrawable = getImageDrawable(); Loading