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

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

Merge "Use WorkChain.toString() instead for Mainline"

parents d6c2fb6e 1a53aff7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ public class RILRequest {
        final ArrayList<WorkChain> workChains = mWorkSource.getWorkChains();
        if (workChains != null && !workChains.isEmpty()) {
            final WorkChain workChain = workChains.get(0);
            return workChain.getAttributionUid() + ":" + workChain.getTags()[0];
            return workChain.toString();
        }

        return null;
+1 −1
Original line number Diff line number Diff line
@@ -1688,7 +1688,7 @@ public class RILTest extends TelephonyTest {
        ws = new WorkSource();
        ws.createWorkChain().addNode(100, "foo").addNode(200, "bar");
        request = RILRequest.obtain(0, null, ws);
        assertEquals("100:foo", request.getWorkSourceClientId());
        assertEquals("WorkChain{(100, foo), (200, bar)}", request.getWorkSourceClientId());
    }

    @Test