diff options
author | yueg <yueg@google.com> | 2018-04-10 16:41:49 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-10 16:44:15 -0700 |
commit | bea76bf6e5de3c99990490d9b66023b99a926111 (patch) | |
tree | abeae6999ee5b32bdb0473abeaeee45ce7963478 /java/com/android/incallui/rtt/impl/RttOverflowMenu.java | |
parent | 6dab61fec518d3ff34265b1ce1fb8614e2660fee (diff) |
Change speaker button for in call UI and bubble.
Bug: 74238896
Test: ButtonControllerTest
PiperOrigin-RevId: 192370117
Change-Id: I265cc9541957c2dd376176ed7a703b4938fe4563
Diffstat (limited to 'java/com/android/incallui/rtt/impl/RttOverflowMenu.java')
-rw-r--r-- | java/com/android/incallui/rtt/impl/RttOverflowMenu.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/incallui/rtt/impl/RttOverflowMenu.java b/java/com/android/incallui/rtt/impl/RttOverflowMenu.java index deee8ee15..e9f9d0428 100644 --- a/java/com/android/incallui/rtt/impl/RttOverflowMenu.java +++ b/java/com/android/incallui/rtt/impl/RttOverflowMenu.java @@ -87,7 +87,7 @@ public class RttOverflowMenu extends PopupWindow implements OnCheckedChangeListe void setAudioState(CallAudioState audioState) { SpeakerButtonInfo info = new SpeakerButtonInfo(audioState); - if (info.checkable) { + if (info.nonBluetoothMode) { speakerButton.setChecked(info.isChecked); speakerButton.setOnClickListener(null); speakerButton.setOnCheckedChangeListener(this); |