commit | 49d59821af5b7aaffe622bdea66aa847e7044472 | [log] [tgz] |
---|---|---|
author | Pranav Madapurmath <pmadapurmath@google.com> | Wed Apr 02 13:44:50 2025 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu May 01 14:13:02 2025 -0700 |
tree | a61a3c927dd1880df0d2846f5a95bd4a91838b28 | |
parent | 8cf4e3f4ccb65abcc5756f20d56d5628a28511a3 [diff] |
Preserve speaker on unhold When the call audio is routed to speaker and the call is held, when the call is unheld, ensure that the audio routing remains on speakerphone unless the user had requested to switch it. We can reuse the existing mWasOnSpeaker phone logic added to handle preserving speaker on wired headset disconnects for this logic as well. Bug: 406898224 Flag:com.android.server.telecom.flags.maybe_default_speaker_after_unhold Test: Manual testing with call on speaker and holding/unholding the call as well as verifying speaker does not persist when explicitly moving to a different route while the call is still held. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bbcc0b78839a6768c8395ffc616c1521485f92c0) Merged-In: Ib3c16c068f26a48a2f6a78a61fd9319578a11a82 Change-Id: Ib3c16c068f26a48a2f6a78a61fd9319578a11a82