Loading framework/java/android/bluetooth/BluetoothManager.java +3 −1 Original line number Diff line number Diff line Loading @@ -67,8 +67,10 @@ public final class BluetoothManager { } // Legacy api - getDefaultAdapter does not take in the context mAdapter = BluetoothAdapter.getDefaultAdapter(); if (mAdapter != null) { mAdapter.setContext(context); } } /** * Get the default BLUETOOTH Adapter for this device. Loading Loading
framework/java/android/bluetooth/BluetoothManager.java +3 −1 Original line number Diff line number Diff line Loading @@ -67,8 +67,10 @@ public final class BluetoothManager { } // Legacy api - getDefaultAdapter does not take in the context mAdapter = BluetoothAdapter.getDefaultAdapter(); if (mAdapter != null) { mAdapter.setContext(context); } } /** * Get the default BLUETOOTH Adapter for this device. Loading