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