diff options
author | Xavier Ducrohet <xav@android.com> | 2011-01-11 18:57:05 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2011-01-11 18:57:33 -0800 |
commit | c39b438ee15e79a601859c127213a33ac815cb42 (patch) | |
tree | 17cbd9316e1eb0e61b901ec1931284f98d777b13 /layoutlib_api/src | |
parent | 9a37d8da4717dfcf99dec4a446dc6b8bf05381c5 (diff) | |
download | sdk-c39b438ee15e79a601859c127213a33ac815cb42.zip sdk-c39b438ee15e79a601859c127213a33ac815cb42.tar.gz sdk-c39b438ee15e79a601859c127213a33ac815cb42.tar.bz2 |
Choose a good locale when opening a file for the first time.
Because the selection of the full config to use for display
is complicated (due to having to find something that matches
the configuration of the edited file), this is a bit more
complex than simply changing the select in updateLocales().
In fact the selection made there when there is no stored config
is pointless. Instead it's decided later by findAndSetCompatibleConfig
which find the proper combination of device and locale*
* this is actually broken since we added the nightmode and dock mode.
We need to include those in the list of config we try out. I'll fix
this in a later patch.
Change-Id: I83599dc7f0d1a921f9568b6de5c065ca1e82e103
Diffstat (limited to 'layoutlib_api/src')
0 files changed, 0 insertions, 0 deletions