Merge "Bluetooth airplane listener: Check for null"

This commit is contained in:
Hansong Zhang
2020-12-10 20:36:01 +00:00
committed by Gerrit Code Review

View File

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