Merge "Avoid IllegalArgumentException when bluetooth is disabled"