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

Commit 5bd63b45 authored by Matthew Sedam's avatar Matthew Sedam Committed by Android (Google) Code Review
Browse files

Merge "TestModeManager: Add log for message duplication" into main

parents 41dba274 1a3172a9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -335,6 +335,10 @@ public class ContextHubService extends IContextHubService.Stub {

            if (Flags.reliableMessageDuplicateDetectionService()
                && didEventHappen(MESSAGE_DUPLICATION_PROBABILITY_PERCENT)) {
                Log.i(TAG, "[TEST MODE] Duplicating message ("
                        + NUM_MESSAGES_TO_DUPLICATE
                        + " sends) with message sequence number: "
                        + message.getMessageSequenceNumber());
                for (int i = 0; i < NUM_MESSAGES_TO_DUPLICATE; ++i) {
                    handleClientMessageCallback(contextHubId, hostEndpointId,
                            message, nanoappPermissions, messagePermissions);