Cherry pick customize JNI method binding name.
This commit enables the ability to bind to a native methods that have been renamed according to a fixed pattern. This capability is needed for Robolectric because its bytecode instrumentation renames the original native methods in order to support potentially shadowing them. This capability is cherry picked from the layoutlib-native branch. Flag: EXEMPT: Only changes the behavior on host-side test. Bug: 323057854 Test: m libandroid_runtime Merged-In: I1a25389f7c6eb3270a32d858ee114ddadbc72a65 Change-Id: Idfb9e0900957e3a13bde10ba9626dd9b6ff4ac99
Loading
Please register or sign in to comment