Skip to content

Commit 5c070d5

Browse files
KenChen23ExactExampl
authored andcommitted
Correct LINT path on UidOwnerMatchType
UidOwnerMatchType Java definition moved from BpfNetMaps.java to BpfNetMapsConstants.java in change I6d7ea044e43180. Bug: 297836825 Test: presubmit Change-Id: I4fc28406750cac9143ea47e9304b455ab616d462
1 parent 7e6f122 commit 5c070d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bpf_progs/netd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ enum UidOwnerMatchType {
186186
OEM_DENY_2_MATCH = (1 << 10),
187187
OEM_DENY_3_MATCH = (1 << 11),
188188
};
189-
// LINT.ThenChange(packages/modules/Connectivity/service/src/com/android/server/BpfNetMaps.java)
189+
// LINT.ThenChange(../framework/src/android/net/BpfNetMapsConstants.java)
190190

191191
enum BpfPermissionMatch {
192192
BPF_PERMISSION_INTERNET = 1 << 2,

framework/src/android/net/BpfNetMapsConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ private BpfNetMapsConstants() {}
6060
public static final long OEM_DENY_1_MATCH = (1 << 9);
6161
public static final long OEM_DENY_2_MATCH = (1 << 10);
6262
public static final long OEM_DENY_3_MATCH = (1 << 11);
63-
// LINT.ThenChange(packages/modules/Connectivity/bpf_progs/netd.h)
63+
// LINT.ThenChange(../../../../bpf_progs/netd.h)
6464

6565
public static final List<Pair<Long, String>> MATCH_LIST = Arrays.asList(
6666
Pair.create(HAPPY_BOX_MATCH, "HAPPY_BOX_MATCH"),

0 commit comments

Comments
 (0)