Loading android/app/src/com/android/bluetooth/btservice/AdapterProperties.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -454,8 +454,8 @@ class AdapterProperties { "PROFILE_CONNECTION_STATE_CHANGE: profile=" + profile + ", device=" + device + ", " "PROFILE_CONNECTION_STATE_CHANGE: profile=" + profile + ", device=" + device + ", " + prevState + " -> " + state); + prevState + " -> " + state); if (!isNormalStateTransition(prevState, state)) { if (!isNormalStateTransition(prevState, state)) { Log.e(TAG, Log.w(TAG, "PROFILE_CONNECTION_STATE_CHANGE: invalid transition for profile=" + profile "PROFILE_CONNECTION_STATE_CHANGE: unexpected transition for profile=" + profile + ", device=" + device + ", " + prevState + " -> " + state); + ", device=" + device + ", " + prevState + " -> " + state); } } sendConnectionStateChange(device, profile, state, prevState); sendConnectionStateChange(device, profile, state, prevState); Loading Loading @@ -489,8 +489,8 @@ class AdapterProperties { "ADAPTER_CONNECTION_STATE_CHANGE: " + device + ": " + prevAdapterState "ADAPTER_CONNECTION_STATE_CHANGE: " + device + ": " + prevAdapterState + " -> " + newAdapterState); + " -> " + newAdapterState); if (!isNormalStateTransition(prevState, state)) { if (!isNormalStateTransition(prevState, state)) { Log.e(TAG, Log.w(TAG, "ADAPTER_CONNECTION_STATE_CHANGE: invalid transition for profile=" "ADAPTER_CONNECTION_STATE_CHANGE: unexpected transition for profile=" + profile + ", device=" + device + ", " + prevState + " -> " + profile + ", device=" + device + ", " + prevState + " -> " + state); + state); } } Loading Loading
android/app/src/com/android/bluetooth/btservice/AdapterProperties.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -454,8 +454,8 @@ class AdapterProperties { "PROFILE_CONNECTION_STATE_CHANGE: profile=" + profile + ", device=" + device + ", " "PROFILE_CONNECTION_STATE_CHANGE: profile=" + profile + ", device=" + device + ", " + prevState + " -> " + state); + prevState + " -> " + state); if (!isNormalStateTransition(prevState, state)) { if (!isNormalStateTransition(prevState, state)) { Log.e(TAG, Log.w(TAG, "PROFILE_CONNECTION_STATE_CHANGE: invalid transition for profile=" + profile "PROFILE_CONNECTION_STATE_CHANGE: unexpected transition for profile=" + profile + ", device=" + device + ", " + prevState + " -> " + state); + ", device=" + device + ", " + prevState + " -> " + state); } } sendConnectionStateChange(device, profile, state, prevState); sendConnectionStateChange(device, profile, state, prevState); Loading Loading @@ -489,8 +489,8 @@ class AdapterProperties { "ADAPTER_CONNECTION_STATE_CHANGE: " + device + ": " + prevAdapterState "ADAPTER_CONNECTION_STATE_CHANGE: " + device + ": " + prevAdapterState + " -> " + newAdapterState); + " -> " + newAdapterState); if (!isNormalStateTransition(prevState, state)) { if (!isNormalStateTransition(prevState, state)) { Log.e(TAG, Log.w(TAG, "ADAPTER_CONNECTION_STATE_CHANGE: invalid transition for profile=" "ADAPTER_CONNECTION_STATE_CHANGE: unexpected transition for profile=" + profile + ", device=" + device + ", " + prevState + " -> " + profile + ", device=" + device + ", " + prevState + " -> " + state); + state); } } Loading