commit | f6392bb8e81917326bf022fbcc2e5a34a8798808 | [log] [tgz] |
---|---|---|
author | Victor Chang <vichang@google.com> | Thu Apr 22 12:17:30 2021 +0100 |
committer | Victor Chang <vichang@google.com> | Thu Apr 22 18:02:28 2021 +0100 |
tree | 65a395a220644f84357b7a08e50610becd4bf2e5 | |
parent | 157ca0a8273432a6c35fcaf2aa6c7786c25e088e [diff] |
Fix the syntax of allocating new array in ICU_getScript `new char(value)` allocates a single char instead of a char array, and it's incorrect. Bug: 185151367 Test: atest CtsLibcoreTestCases:libcore.libcore.icu.ICUTest Change-Id: I01a1e7438795b7122005f534bb83d10c2321752b