commit | 9ee5e7e17f7d65620f21d1a42865981e7bc56593 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@google.com> | Mon Sep 08 16:15:21 2014 -0700 |
committer | Michael Wright <michaelwr@google.com> | Mon Sep 08 17:05:44 2014 -0700 |
tree | 9e65103e7fc4429505ba2cd8c4a2ce84bddd39cb | |
parent | 3afd6e3fc612e12ad55de53747641f63f457bb42 [diff] |
USB string descriptors are not UTF8, so it is not safe to treat them as such. Add AndroidRuntime::NewStringLatin1() to convert non-UTF8 strings to Java strings. Bug: 17427781 Change-Id: I7df1d4e94a7beebc8b1a74c0c0a163b794025ae8