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

Commit 0efec89b authored by Jack Yu's avatar Jack Yu
Browse files

DO NOT MERGE - Use the correct bytes to hex string method.

The old one broke the master build.

Change-Id: I14a6b76982b7122e1e0521ca729255559627dee4
parent ffe9936d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -19,6 +19,8 @@ package com.android.internal.telephony;
import android.database.MatrixCursor;
import android.test.suitebuilder.annotation.SmallTest;

import com.android.internal.util.HexDump;

import java.util.Arrays;

import static org.junit.Assert.*;
@@ -68,7 +70,7 @@ public class InboundSmsTrackerTest {
    public void testInitializationFromDb() {
        MatrixCursor mc = new MatrixCursor(
                new String[]{"pdu", "seq", "dest", "date", "ref", "cnt", "addr", "id"});
        mc.addRow(new Object[]{IntegralToString.bytesToHexString(FAKE_PDU, false),
        mc.addRow(new Object[]{HexDump.toHexString(FAKE_PDU),
                FAKE_SEQUENCE_NUMBER, FAKE_DEST_PORT, FAKE_TIMESTAMP,
                FAKE_REFERENCE_NUMBER, FAKE_MESSAGE_COUNT, FAKE_ADDRESS, 1});
        mc.moveToFirst();