Description[Android] Avoid unnecessary JNI calls for empty string conversions
There's no need to fetch/release the characters for an empty Java string
when converting it to native. Shortcut such cases by simply returning
an empty C++ string.
BUG=457748
NOTRY=true
Committed: https://crrev.com/e1f14701408e9174a4cd5251106ddd8a00d25f87
Cr-Commit-Position: refs/heads/master@{#341782}
Patch Set 1 #Patch Set 2 : Test #
Total comments: 2
Patch Set 3 : Check exceptions... #
Messages
Total messages: 17 (6 generated)
|