Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be41ed86 authored by Hyundo Moon's avatar Hyundo Moon
Browse files

AdapterProperties: Show profile name instead of value in log

Bug: 318464010
Test: m -j;
Flag: EXEMPT, log-only change
Change-Id: I19410c2f90b3dfd61817c3217ed27527d8163b0c
parent 9560404c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -816,7 +816,8 @@ class AdapterProperties {
                        + " -> " + newAdapterState);
                if (!isNormalStateTransition(prevState, state)) {
                    Log.w(TAG, "ADAPTER_CONNECTION_STATE_CHANGE: unexpected transition for profile="
                            + profile + ", device=" + device + ", " + prevState + " -> " + state);
                            + BluetoothProfile.getProfileName(profile)
                            + ", device=" + device + ", " + prevState + " -> " + state);
                }
                mService.sendBroadcastAsUser(intent, UserHandle.ALL, BLUETOOTH_CONNECT,
                        Utils.getTempAllowlistBroadcastOptions());