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

Commit 5775a7ee authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix AudioDeviceAttributes null crash" into main am: 97fbad2d

parents 77f497fb 97fbad2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11398,7 +11398,7 @@ public class AudioService extends IAudioService.Stub
    private AudioDeviceAttributes anonymizeAudioDeviceAttributesUnchecked(
            AudioDeviceAttributes ada) {
        if (!AudioSystem.isBluetoothDevice(ada.getInternalType())) {
        if (ada == null || !AudioSystem.isBluetoothDevice(ada.getInternalType())) {
            return ada;
        }
        AudioDeviceAttributes res = new AudioDeviceAttributes(ada);