Loading android/app/src/com/android/bluetooth/btservice/AdapterProperties.java +2 −2 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ import java.util.concurrent.CopyOnWriteArrayList; class AdapterProperties { private static final boolean DBG = true; private static final boolean VDBG = false; private static final String TAG = "BluetoothAdapterProperties"; private static final String TAG = "AdapterProperties"; private static final String MAX_CONNECTED_AUDIO_DEVICES_PROPERTY = "persist.bluetooth.maxconnectedaudiodevices"; Loading Loading @@ -311,7 +311,7 @@ class AdapterProperties { * @param mState the mState to set */ void setState(int mState) { debugLog("Setting state to " + mState); debugLog("Setting state to " + BluetoothAdapter.nameForState(mState)); this.mState = mState; } Loading android/app/src/com/android/bluetooth/btservice/AdapterService.java +2 −1 Original line number Diff line number Diff line Loading @@ -590,7 +590,8 @@ public class AdapterService extends Service { void updateAdapterState(int prevState, int newState) { if (mCallbacks != null) { int n = mCallbacks.beginBroadcast(); debugLog("updateAdapterState() - Broadcasting state to " + n + " receivers."); debugLog("updateAdapterState() - Broadcasting state " + BluetoothAdapter.nameForState( newState) + " to " + n + " receivers."); for (int i = 0; i < n; i++) { try { mCallbacks.getBroadcastItem(i).onBluetoothStateChange(prevState, newState); Loading android/app/src/com/android/bluetooth/btservice/AdapterState.java +2 −1 Original line number Diff line number Diff line Loading @@ -525,7 +525,8 @@ final class AdapterState extends StateMachine { int oldState = adapterProperties.getState(); adapterProperties.setState(newState); infoLog("Bluetooth adapter state changed: " + oldState + "-> " + newState); infoLog("Bluetooth adapter state changed: " + BluetoothAdapter.nameForState(oldState) + "-> " + BluetoothAdapter.nameForState(newState)); adapterService.updateAdapterState(oldState, newState); } Loading Loading
android/app/src/com/android/bluetooth/btservice/AdapterProperties.java +2 −2 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ import java.util.concurrent.CopyOnWriteArrayList; class AdapterProperties { private static final boolean DBG = true; private static final boolean VDBG = false; private static final String TAG = "BluetoothAdapterProperties"; private static final String TAG = "AdapterProperties"; private static final String MAX_CONNECTED_AUDIO_DEVICES_PROPERTY = "persist.bluetooth.maxconnectedaudiodevices"; Loading Loading @@ -311,7 +311,7 @@ class AdapterProperties { * @param mState the mState to set */ void setState(int mState) { debugLog("Setting state to " + mState); debugLog("Setting state to " + BluetoothAdapter.nameForState(mState)); this.mState = mState; } Loading
android/app/src/com/android/bluetooth/btservice/AdapterService.java +2 −1 Original line number Diff line number Diff line Loading @@ -590,7 +590,8 @@ public class AdapterService extends Service { void updateAdapterState(int prevState, int newState) { if (mCallbacks != null) { int n = mCallbacks.beginBroadcast(); debugLog("updateAdapterState() - Broadcasting state to " + n + " receivers."); debugLog("updateAdapterState() - Broadcasting state " + BluetoothAdapter.nameForState( newState) + " to " + n + " receivers."); for (int i = 0; i < n; i++) { try { mCallbacks.getBroadcastItem(i).onBluetoothStateChange(prevState, newState); Loading
android/app/src/com/android/bluetooth/btservice/AdapterState.java +2 −1 Original line number Diff line number Diff line Loading @@ -525,7 +525,8 @@ final class AdapterState extends StateMachine { int oldState = adapterProperties.getState(); adapterProperties.setState(newState); infoLog("Bluetooth adapter state changed: " + oldState + "-> " + newState); infoLog("Bluetooth adapter state changed: " + BluetoothAdapter.nameForState(oldState) + "-> " + BluetoothAdapter.nameForState(newState)); adapterService.updateAdapterState(oldState, newState); } Loading