commit | 82c7fdb1f6346862de373c95c618e370f81d8df6 | [log] [tgz] |
---|---|---|
author | Deepanshu Gupta <deepanshu@google.com> | Tue Aug 04 16:17:46 2015 -0700 |
committer | Deepanshu Gupta <deepanshu@google.com> | Thu Aug 06 16:03:19 2015 -0700 |
tree | 457e98df11bbf104526d0632d948957ca92002ec | |
parent | 0437cac76c24dc6cac7b530e6d80f789565550ec [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