summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2015-08-04 16:17:46 -0700
committerDeepanshu Gupta <deepanshu@google.com>2015-08-06 16:03:19 -0700
commit82c7fdb1f6346862de373c95c618e370f81d8df6 (patch)
tree457e98df11bbf104526d0632d948957ca92002ec /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0437cac76c24dc6cac7b530e6d80f789565550ec (diff)
Replace Locale.getDefault with custom impl.
In LayoutLib the default locale should always be the locale set the rendering params. This change replaces all calls to Locale.getDefault in the framework with calls to AndroidLocale.getDefault() which tries to find the locale from the current context, but falls back to the original call. Change-Id: I496b35dcfc17fd61fedee21c7495541ab870b1fc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions