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

Commit 1764e215 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "AudioService: remove SA state sync between BT profiles" into main

parents 9aeb5612 5083e583
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -385,11 +385,6 @@ public class AudioDeviceInventory {
                    || !updatedDevice.getDeviceAddress().equals(ads.getDeviceAddress())) {
                continue;
            }
            if (mDeviceBroker.isSADevice(updatedDevice) == mDeviceBroker.isSADevice(ads)) {
                ads.setHasHeadTracker(updatedDevice.hasHeadTracker());
                ads.setHeadTrackerEnabled(updatedDevice.isHeadTrackerEnabled());
                ads.setSAEnabled(updatedDevice.isSAEnabled());
            }
            ads.setAudioDeviceCategory(updatedDevice.getAudioDeviceCategory());

            mDeviceBroker.postUpdatedAdiDeviceState(ads, false /*initSA*/);
+0 −3
Original line number Diff line number Diff line
@@ -10100,9 +10100,6 @@ public class AudioService extends IAudioService.Stub
                case MSG_INIT_SPATIALIZER:
                    onInitSpatializer();
                    // the device inventory can only be synchronized after the
                    // spatializer has been initialized
                    mDeviceBroker.postSynchronizeAdiDevicesInInventory(null);
                    mAudioEventWakeLock.release();
                    break;