(@Nullable Context context, int appType)
| 425 | } |
| 426 | |
| 427 | public static boolean isSupportedDirectLoad(@Nullable Context context, int appType) { |
| 428 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { |
| 429 | // Android starts to support directly loading from API 23. |
| 430 | // https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#opening-shared-libraries-directly-from-an-apk |
| 431 | return MarshmallowSysdeps.isSupportedDirectLoad(context, appType); |
| 432 | } |
| 433 | return false; |
| 434 | } |
| 435 | |
| 436 | public static boolean isDisabledExtractNativeLibs(Context context) { |
| 437 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { |
no test coverage detected