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

Commit f0b90bde authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "AdapterProperties: change log level and wording"

parents d360f35a 8757b285
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -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);
@@ -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);
                }
                }