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

Commit fe42c12e authored by Neil Fuller's avatar Neil Fuller Committed by android-build-merger
Browse files

Merge "Remove usage of StringFactory" am: 8a79748b am: 49b05480

am: 0f06280e

Change-Id: Iff0743fbae887558de67e6f8da314c4ff355dc02
parents 3a6c71c1 0f06280e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -189,8 +189,7 @@ public class HomeSpTest {
        Map<String, Long> homeNetworkIds = new HashMap<>();
        byte[] rawSsidBytes = new byte[33];
        Arrays.fill(rawSsidBytes, (byte) 'a');
        homeNetworkIds.put(
                StringFactory.newStringFromBytes(rawSsidBytes, StandardCharsets.UTF_8), 0x1234L);
        homeNetworkIds.put(new String(rawSsidBytes, StandardCharsets.UTF_8), 0x1234L);
        homeSp.setHomeNetworkIds(homeNetworkIds);
        assertFalse(homeSp.validate());
    }