Merge "Bluetooth airplane listener: Check for null"
This commit is contained in:
@@ -119,7 +119,9 @@ class BluetoothAirplaneModeListener {
|
||||
}
|
||||
return;
|
||||
}
|
||||
mAirplaneHelper.onAirplaneModeChanged(mBluetoothManager);
|
||||
if (mAirplaneHelper != null) {
|
||||
mAirplaneHelper.onAirplaneModeChanged(mBluetoothManager);
|
||||
}
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
|
||||
Reference in New Issue
Block a user