I am getting warning " Boolean method is always inverted " on running lint in IntelliJ. I have several similar warnings in my codebase. Which basic coding style, am I missing?
public static boolean isBlueToothEnabled(){
final BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
if(bluetoothAdapter != null)
return bluetoothAdapter.isEnabled();
return false;
}