Loading flags/telecom_callaudioroutestatemachine_flags.aconfig +11 −0 Original line number Diff line number Diff line Loading @@ -89,6 +89,17 @@ flag { bug: "315865533" } # OWNER=tgunn TARGET=24Q3 flag { name: "dont_use_communication_device_tracker" namespace: "telecom" description: "Do not use the communication device tracker with useRefactoredAudioRouteSwitching." bug: "346472575" metadata { purpose: PURPOSE_BUGFIX } } # OWNER=pmadapurmath TARGET=24Q3 flag { name: "resolve_switching_bt_devices_computation" Loading src/com/android/server/telecom/CallAudioModeStateMachine.java +9 −3 Original line number Diff line number Diff line Loading @@ -334,10 +334,16 @@ public class CallAudioModeStateMachine extends StateMachine { mAudioManager.abandonAudioFocusForCall(); // Clear requested communication device after the call ends. if (mFeatureFlags.clearCommunicationDeviceAfterAudioOpsComplete()) { // Oh flags! If we're using the refactored audio route switching, we should // not be using the communication device tracker; that is exclusively for // the old code path. if (!mFeatureFlags.dontUseCommunicationDeviceTracker() || !mFeatureFlags.useRefactoredAudioRouteSwitching()) { mCommunicationDeviceTracker.clearCommunicationDevice( mCommunicationDeviceTracker .getCurrentLocallyRequestedCommunicationDevice()); } } return HANDLED; default: // The forced focus switch commands are handled by BaseState. Loading Loading
flags/telecom_callaudioroutestatemachine_flags.aconfig +11 −0 Original line number Diff line number Diff line Loading @@ -89,6 +89,17 @@ flag { bug: "315865533" } # OWNER=tgunn TARGET=24Q3 flag { name: "dont_use_communication_device_tracker" namespace: "telecom" description: "Do not use the communication device tracker with useRefactoredAudioRouteSwitching." bug: "346472575" metadata { purpose: PURPOSE_BUGFIX } } # OWNER=pmadapurmath TARGET=24Q3 flag { name: "resolve_switching_bt_devices_computation" Loading
src/com/android/server/telecom/CallAudioModeStateMachine.java +9 −3 Original line number Diff line number Diff line Loading @@ -334,10 +334,16 @@ public class CallAudioModeStateMachine extends StateMachine { mAudioManager.abandonAudioFocusForCall(); // Clear requested communication device after the call ends. if (mFeatureFlags.clearCommunicationDeviceAfterAudioOpsComplete()) { // Oh flags! If we're using the refactored audio route switching, we should // not be using the communication device tracker; that is exclusively for // the old code path. if (!mFeatureFlags.dontUseCommunicationDeviceTracker() || !mFeatureFlags.useRefactoredAudioRouteSwitching()) { mCommunicationDeviceTracker.clearCommunicationDevice( mCommunicationDeviceTracker .getCurrentLocallyRequestedCommunicationDevice()); } } return HANDLED; default: // The forced focus switch commands are handled by BaseState. Loading