Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd57b6e1 authored by Alex Shabalin's avatar Alex Shabalin Committed by Alexandr Shabalin
Browse files

Make BluetoothMediaDevice#isMutingExpectedDevice() read from a constant.

This prevents making AudioManager#getMutingExpectedDevice() call that
ends up in an IPC call every time
BluetoothMediaDevice#isMutingExpectedDevice() is invoked.

Bug: 414668703
Flag: com.android.media.flags.avoid_binder_calls_for_muting_expected_device
Test: atest BluetoothMediaDeviceTest, atest
MediaSwitchingControllerTest, atest LocalMediaManagerTest.

Change-Id: Iba136226c60471ac1f11eacfccbd8353e3886efc
parent dcb329e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment