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