Merge "Bluetooth airplane listener: Check for null" into rvc-qpr-dev

This commit is contained in:
Myles Watson
2021-03-29 18:08:21 +00:00
committed by Android (Google) Code Review

View File

@@ -127,8 +127,10 @@ class BluetoothAirplaneModeListener {
} }
return; return;
} }
if (mAirplaneHelper != null) {
mAirplaneHelper.onAirplaneModeChanged(mBluetoothManager); mAirplaneHelper.onAirplaneModeChanged(mBluetoothManager);
} }
}
@VisibleForTesting @VisibleForTesting
boolean shouldSkipAirplaneModeChange() { boolean shouldSkipAirplaneModeChange() {