Skip to content
Snippets Groups Projects
Commit 1df0aafc authored by Maciej Żenczykowski's avatar Maciej Żenczykowski
Browse files

BpfUtils.java - add requires T+ annotation


Networking bpf (including cgroup related portions)
was mainlined in Android T.

Test: TreeHugger
Signed-off-by: default avatarMaciej Żenczykowski <maze@google.com>
Change-Id: I779584828f03caa2d61d5081cb3d39566db9b9de
parent 9397e4eb
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,10 @@
*/
package com.android.net.module.util;
import android.os.Build;
import androidx.annotation.NonNull;
import androidx.annotation.RequiresApi;
import java.io.IOException;
......@@ -24,6 +27,7 @@ import java.io.IOException;
*
* {@hide}
*/
@RequiresApi(Build.VERSION_CODES.TIRAMISU)
public class BpfUtils {
static {
System.loadLibrary(JniUtil.getJniLibraryName(BpfUtils.class.getPackage()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment