Return empty array when BluetoothAdapter is null
BluetoothAdapter will be null in some platform device, because they don't have bluetooth feature. This CL add null check to avoid null point exception on non-bluetooth feature platform device. Bug: 152647633 Test: make -j42 RunSettingsLibRoboTests Change-Id: Iba7f41796bd22163ab55a7f9ff4f44df6513754e
Loading
Please register or sign in to comment