MCPcopy Create free account
hub / github.com/facebook/SoLoader / isSupportedDirectLoad

Method isSupportedDirectLoad

java/com/facebook/soloader/SysUtil.java:427–434  ·  view source on GitHub ↗
(@Nullable Context context, int appType)

Source from the content-addressed store, hash-verified

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) {

Callers 2

initMethod · 0.95
initSoSourcesMethod · 0.95

Calls 1

isSupportedDirectLoadMethod · 0.95

Tested by

no test coverage detected