diff options
Diffstat (limited to 'libnativebridge/tests/NativeBridgeTestCase7.cpp')
-rw-r--r-- | libnativebridge/tests/NativeBridgeTestCase7.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/libnativebridge/tests/NativeBridgeTestCase7.cpp b/libnativebridge/tests/NativeBridgeTestCase7.cpp index f84930c71b..6f4c5e4f8b 100644 --- a/libnativebridge/tests/NativeBridgeTestCase7.cpp +++ b/libnativebridge/tests/NativeBridgeTestCase7.cpp @@ -79,11 +79,6 @@ extern "C" const char* native_bridge7_getError() { return nullptr; } extern "C" bool native_bridge7_isPathSupported(const char* /* path */) { return true; } -extern "C" bool native_bridge7_initAnonymousNamespace(const char* /* public_ns_sonames */, - const char* /* anon_ns_library_path */) { - return true; -} - extern "C" android::native_bridge_namespace_t* native_bridge7_createNamespace( const char* /* name */, const char* /* ld_library_path */, @@ -132,7 +127,7 @@ android::NativeBridgeCallbacks NativeBridgeItf{ .unloadLibrary = &native_bridge7_unloadLibrary, .getError = &native_bridge7_getError, .isPathSupported = &native_bridge7_isPathSupported, - .initAnonymousNamespace = &native_bridge7_initAnonymousNamespace, + .unused_initAnonymousNamespace = nullptr, .createNamespace = &native_bridge7_createNamespace, .linkNamespaces = &native_bridge7_linkNamespaces, .loadLibraryExt = &native_bridge7_loadLibraryExt, @@ -144,4 +139,5 @@ android::NativeBridgeCallbacks NativeBridgeItf{ &native_bridge7_preZygoteFork, // v7 &native_bridge7_getTrampoline2, - &native_bridge7_getTrampolineForFunctionPointer}; + &native_bridge7_getTrampolineForFunctionPointer, +}; |