commit | da4d59d2687884ce54eb31b527df93461b1191ed | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Thu Jan 27 10:31:02 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jan 27 10:31:02 2022 +0000 |
tree | e78316a4a5deb9fe3755d2ac0b5bec96869a581d | |
parent | e69c4b0e52ed46cbc96b4ad6a45ff001f9a57822 [diff] | |
parent | 836bd6b5ae94afb34adf0b08fa6cb0ddbe62153a [diff] |
Merge "Fix add missing loadLibrary to TcUtils"
diff --git a/staticlibs/device/com/android/net/module/util/TcUtils.java b/staticlibs/device/com/android/net/module/util/TcUtils.java index 5b78bc1..cf01490 100644 --- a/staticlibs/device/com/android/net/module/util/TcUtils.java +++ b/staticlibs/device/com/android/net/module/util/TcUtils.java
@@ -22,6 +22,10 @@ * Contains mostly tc-related functionality. */ public class TcUtils { + static { + System.loadLibrary(JniUtil.getJniLibraryName(TcUtils.class.getPackage())); + } + /** * Checks if the network interface uses an ethernet L2 header. *