Merge "BpfUtils.java - add requires T+ annotation" into main
This commit is contained in:
commit
fdcf0111c3
1 changed files with 4 additions and 0 deletions
|
|
@ -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()));
|
||||
|
|
|
|||
Loading…
Reference in a new issue