diff options
author | Patrick Rohr <prohr@google.com> | 2022-01-27 10:31:02 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2022-01-27 10:31:02 +0000 |
commit | aefb1daf2e935c14f5be0f97bb140921702a793d (patch) | |
tree | a536b868134569f2b5ac6f68f5a80bbc63edbb69 | |
parent | 6a7047aba12497a6d0f16a3490ec1ad94b560cd2 (diff) | |
parent | 977cc1078fab47209faa9c198a0ae12149a1f678 (diff) | |
download | net-aefb1daf2e935c14f5be0f97bb140921702a793d.tar.gz |
Merge "Fix add missing loadLibrary to TcUtils"
-rw-r--r-- | common/device/com/android/net/module/util/TcUtils.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/device/com/android/net/module/util/TcUtils.java b/common/device/com/android/net/module/util/TcUtils.java index 5b78bc10..cf01490b 100644 --- a/common/device/com/android/net/module/util/TcUtils.java +++ b/common/device/com/android/net/module/util/TcUtils.java @@ -22,6 +22,10 @@ import java.io.IOException; * 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. * |