OSDN Git Service

ART: Use v2 version of NativeBridge struct
authorAndreas Gampe <agampe@google.com>
Thu, 21 May 2015 01:01:30 +0000 (18:01 -0700)
committerAndreas Gampe <agampe@google.com>
Thu, 21 May 2015 01:02:21 +0000 (18:02 -0700)
Update the struct to the new version, but without implementation.

Bug: 20217701
Change-Id: Ic23a60b949f119c7d8b0e7cb27a61e6c16532a23

test/115-native-bridge/nativebridge.cc

index 24e9600..db2fc9b 100644 (file)
@@ -327,5 +327,7 @@ android::NativeBridgeCallbacks NativeBridgeItf {
   .loadLibrary = &native_bridge_loadLibrary,
   .getTrampoline = &native_bridge_getTrampoline,
   .isSupported = &native_bridge_isSupported,
-  .getAppEnv = &native_bridge_getAppEnv
+  .getAppEnv = &native_bridge_getAppEnv,
+  .isCompatibleWith = nullptr,
+  .getSignalHandler = nullptr
 };