Fix issue #3392073: At times soft keyboard comes up in...

...gallery while attaching picture to gmail message

In various places we could block switching the IME target incorrectly.

Change-Id: I7e647fb35f4ea6f2e39eb7efd911420ea9ee64fa
This commit is contained in:
Dianne Hackborn 2011-01-27 19:37:40 -08:00 committed by Alex Ray
parent 741cbc3382
commit da74bc06a8

View file

@ -3703,9 +3703,9 @@ void ResTable::getConfigurations(Vector<ResTable_config>* configs) const
void ResTable::getLocales(Vector<String8>* locales) const
{
Vector<ResTable_config> configs;
LOGD("calling getConfigurations");
LOGV("calling getConfigurations");
getConfigurations(&configs);
LOGD("called getConfigurations size=%d", (int)configs.size());
LOGV("called getConfigurations size=%d", (int)configs.size());
const size_t I = configs.size();
for (size_t i=0; i<I; i++) {
char locale[6];