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

Commit 1a770079 authored by Phil Burk's avatar Phil Burk
Browse files

AudioService: fix String cast crash when mediaserver killed



Bug: 19847028
Change-Id: I45668fbd08e87df69fe3867473a09c387589ca8a
Signed-off-by: default avatarPhil Burk <philburk@google.com>
parent 3a96f767
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4115,8 +4115,8 @@ public class AudioService extends IAudioService.Stub {
                            AudioSystem.setDeviceConnectionState(
                                                            spec.mDeviceType,
                                                            AudioSystem.DEVICE_STATE_AVAILABLE,
                                                            (String)device.getValue(),
                                                            "unknown-device");
                                                            spec.mDeviceAddress,
                                                            spec.mDeviceName);
                        }
                    }
                    // Restore call state