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

Commit f25501aa authored by Tom Chan's avatar Tom Chan Committed by Android (Google) Code Review
Browse files

Merge "Reduce log level in the send/receive message path" into main

parents 1704d187 78463721
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ public class CompanionTransportManager {
     * Send a message to remote devices through the transports
     */
    public void sendMessage(int message, byte[] data, int[] associationIds) {
        Slog.i(TAG, "Sending message 0x" + Integer.toHexString(message)
        Slog.d(TAG, "Sending message 0x" + Integer.toHexString(message)
                + " data length " + data.length);
        synchronized (mTransports) {
            for (int i = 0; i < associationIds.length; i++) {
+1 −1
Original line number Diff line number Diff line
@@ -284,7 +284,7 @@ public abstract class Transport {
        if (mListeners.containsKey(message)) {
            try {
                mListeners.get(message).onMessageReceived(getAssociationId(), data);
                Slog.i(TAG, "Message 0x" + Integer.toHexString(message)
                Slog.d(TAG, "Message 0x" + Integer.toHexString(message)
                        + " is received from associationId " + mAssociationId
                        + ", sending data length " + data.length + " to the listener.");
            } catch (RemoteException ignored) {