commit | 771b570ddc9ab4e087ca9470a8e4f86f6ea5e564 | [log] [tgz] |
---|---|---|
author | Brett Chabot <brettchabot@google.com> | Wed Sep 18 21:43:24 2024 +0000 |
committer | Brett Chabot <brettchabot@google.com> | Tue Sep 24 00:46:25 2024 +0000 |
tree | 910cee9c48f9e6e701ea8762d22497410b726e29 | |
parent | 32955076ad40b5d10af002ebee612d294c44c4a9 [diff] |
Also support setJniMethodFormat in hwui. Idfb9e0900957e3a13bde10ba9626dd9b6ff4ac99 added support for binding to a native methods that have been renamed by a fixed pattern to jni_wrappers.h. This commit copies the identical logic to graphics_jni_helpers.h And also refactors the existing logic to avoid a memory leak. Flag: EXEMPT: Only changes the behavior on host-side test. Bug: 323057854 Test: m libandroid_runtime Merged-In: I1a25389f7c6eb3270a32d858ee114ddadbc72a65 Change-Id: I232e1ca8ecf2faff2af692624a51188ed317e297