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

Commit 97fbad2d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix AudioDeviceAttributes null crash" into main

parents 09bbb6e6 aee34e29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10917,7 +10917,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);