Android: Fix verification errors in Clipboard.java.
A JNI conversion CL (http://crrev.com/c/1809399) introduced the verification error which regressed Webview startup. Why did the JNI conversion introduce the error? More inlining in Clipboard.java caused methods only available on later versions of Android to be inlined into the startup code path. How does this CL fix the issue? By outlining and using annotations to prohibit inlining for the offending methods. Tbr: dtrainor@chromium.org Bug: 1006812 Change-Id: I17ef9deb83ad751f028bfce4440500bb05a7f55e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1823439 Commit-Queue: Eric Stevenson <estevenson@chromium.org> Reviewed-by:Sam Maier <smaier@chromium.org> Reviewed-by:
Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#699769}
Showing
Please register or sign in to comment