diff --git a/staticlibs/device/com/android/net/module/util/ProcfsParsingUtils.java b/staticlibs/device/com/android/net/module/util/ProcfsParsingUtils.java index 8769e046dc..3bd1e6c123 100644 --- a/staticlibs/device/com/android/net/module/util/ProcfsParsingUtils.java +++ b/staticlibs/device/com/android/net/module/util/ProcfsParsingUtils.java @@ -131,10 +131,7 @@ public final class ProcfsParsingUtils { * If the list is empty or contains multiple lines, it assumes a default value for 1500. * * @param lines A list of strings, expected to contain the MTU value as its sole element. - * @return The parsed MTU value as an integer. Returns `IPV4_MIN_MTU` if `ipv4` is true - * and the input `lines` size is not 1, otherwise returns `IPV6_MIN_MTU` if `ipv4` - * is false and the input `lines` size is not 1. If `lines` has exactly one - * element, returns the integer parsed from that string. + * @return The parsed MTU value as an integer. */ @VisibleForTesting public static int parseInterfaceMtu(final List lines) {