diff options
author | Eric Erfanian <erfanian@google.com> | 2018-07-10 14:23:00 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-07-10 14:23:00 -0700 |
commit | 51733a7747f1b15817f83ed12c37e54ffbc0b081 (patch) | |
tree | ce72b720421049c0b4094ab8c9843bc6b7ac80bc /java/com/android/incallui/CallButtonPresenter.java | |
parent | 56162775ef882d22b0308dcc32b2ed1dcd9d8d9f (diff) | |
parent | 9ef4e5430114fa5996d0ceaeb4dad3fb2d4ee811 (diff) |
Merge changes from topic "ui-update" am: e0dbd9f907 am: 247a5d039a
am: 9ef4e54301
Change-Id: I4513871ae9e89c314bc5f275ff0f6af3c597987b
Diffstat (limited to 'java/com/android/incallui/CallButtonPresenter.java')
-rw-r--r-- | java/com/android/incallui/CallButtonPresenter.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/com/android/incallui/CallButtonPresenter.java b/java/com/android/incallui/CallButtonPresenter.java index be803430b..7d12d5281 100644 --- a/java/com/android/incallui/CallButtonPresenter.java +++ b/java/com/android/incallui/CallButtonPresenter.java @@ -427,6 +427,11 @@ public class CallButtonPresenter return; } + if (call != null) { + inCallButtonUi.updateInCallButtonUiColors( + InCallPresenter.getInstance().getThemeColorManager().getSecondaryColor()); + } + final boolean isEnabled = state.isConnectingOrConnected() && !state.isIncoming() && call != null; inCallButtonUi.setEnabled(isEnabled); |