commit | c14dd78a2c20c0cfa229dfeef064de148e0b608e | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Wed Mar 30 23:09:16 2016 +0900 |
committer | Seigo Nonaka <nona@google.com> | Thu Mar 31 00:21:35 2016 +0900 |
tree | 4567f1a910673efeb2505b7bd0a3eadad5ce514c | |
parent | aac5bf1c1c60fac2db26c1ec68b85a7232816682 [diff] |
Fix incorrect initial locale negotiation. It turned out that calling ResourceManager.setDefaultLocalesLocked and ResourcesManager.applyConfigurationToResourcesLocked can be called before the locale negotiation is ready. To fix this issue, move ResourcesManager setup flow after creating application context. This also introduces RuntimeException for notifying developers the initialize order. Bug: 27567902 Change-Id: Iab7ea384b039fb649fb52d06d45b2bfae21f9a8a