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

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

Merge "Early return when mA2dp is null (disconnected) to avoid null object reference"

parents 10bb0663 16d48034
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -266,8 +266,8 @@ public class BtHelper {
            if (AudioService.DEBUG_VOL) {
                AudioService.sVolumeLogger.log(new AudioEventLogger.StringEvent(
                        "setAvrcpAbsoluteVolumeIndex: bailing due to null mA2dp").printLog(TAG));
                return;
            }
            return;
        }
        if (!mAvrcpAbsVolSupported) {
            AudioService.sVolumeLogger.log(new AudioEventLogger.StringEvent(