Merge "Early return when mA2dp is null (disconnected) to avoid null object reference" into udc-dev am: a8fcc09d3a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23723003 Change-Id: I294e5fb0fdf53ffce5ce0d60aac82a66a082f70b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -218,8 +218,8 @@ public class BtHelper {
|
|||||||
if (AudioService.DEBUG_VOL) {
|
if (AudioService.DEBUG_VOL) {
|
||||||
AudioService.sVolumeLogger.enqueue(new EventLogger.StringEvent(
|
AudioService.sVolumeLogger.enqueue(new EventLogger.StringEvent(
|
||||||
"setAvrcpAbsoluteVolumeIndex: bailing due to null mA2dp").printLog(TAG));
|
"setAvrcpAbsoluteVolumeIndex: bailing due to null mA2dp").printLog(TAG));
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if (!mAvrcpAbsVolSupported) {
|
if (!mAvrcpAbsVolSupported) {
|
||||||
AudioService.sVolumeLogger.enqueue(new EventLogger.StringEvent(
|
AudioService.sVolumeLogger.enqueue(new EventLogger.StringEvent(
|
||||||
|
|||||||
Reference in New Issue
Block a user