Use new String() instead of StringFactory
After platform/art commit 9abc31e it is possible
to use "new String()" rather than StringFactory in most places.
This change switches all but one usage of StringFactory
in Java over to upstream "new String()" code. The one case
left relies on a String constructor (char[], boolean) that does
not currently exist on Android.
There is an associated commit in platform/art to update
tests.
Bug: 79902155
Test: make test-art-host
Change-Id: I9b37fce898d2d3e1f580976f52bcb7e73a7608c1
2 files changed