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

Commit fe047a33 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Use more inclusive language for #inclusivefixit" am: c35d9502

Original change: https://android-review.googlesource.com/c/platform/packages/modules/NetworkStack/+/1375360

Change-Id: I3933f2efa719180b504018297eb06b7a4b612659
parents 398497e7 c35d9502
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -25,7 +25,7 @@
    <!-- Permissions must be defined here, and not in the base manifest, as the network stack
    <!-- Permissions must be defined here, and not in the base manifest, as the network stack
         running in the system server process does not need any permission, and having privileged
         running in the system server process does not need any permission, and having privileged
         permissions added would cause crashes on startup unless they are also added to the
         permissions added would cause crashes on startup unless they are also added to the
         privileged permissions whitelist for that package. -->
         privileged permissions allowlist for that package. -->
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
+1 −1
Original line number Original line Diff line number Diff line
@@ -778,7 +778,7 @@ public class ApfFilter {
            mPacket = ByteBuffer.wrap(Arrays.copyOf(packet, length));
            mPacket = ByteBuffer.wrap(Arrays.copyOf(packet, length));
            mLastSeen = currentTimeSeconds();
            mLastSeen = currentTimeSeconds();


            // Sanity check packet in case a packet arrives before we attach RA filter
            // Check packet in case a packet arrives before we attach RA filter
            // to our packet socket. b/29586253
            // to our packet socket. b/29586253
            if (getUint16(mPacket, ETH_ETHERTYPE_OFFSET) != ETH_P_IPV6 ||
            if (getUint16(mPacket, ETH_ETHERTYPE_OFFSET) != ETH_P_IPV6 ||
                    getUint8(mPacket, IPV6_NEXT_HEADER_OFFSET) != IPPROTO_ICMPV6 ||
                    getUint8(mPacket, IPV6_NEXT_HEADER_OFFSET) != IPPROTO_ICMPV6 ||
+1 −1
Original line number Original line Diff line number Diff line
@@ -1013,7 +1013,7 @@ public class IpClientIntegrationTest {
        assertNotNull(params.macAddr);
        assertNotNull(params.macAddr);
        assertTrue(params.hasMacAddress);
        assertTrue(params.hasMacAddress);


        // Sanity check.
        //  Check interface "lo".
        params = InterfaceParams.getByName("lo");
        params = InterfaceParams.getByName("lo");
        assertNotNull(params);
        assertNotNull(params);
        assertEquals("lo", params.name);
        assertEquals("lo", params.name);