commit | bbd31559f32f86a100904fe8a5bc37677b5ba441 | [log] [tgz] |
---|---|---|
author | Svetoslav Ganov <svetoslavganov@google.com> | Mon Jun 11 12:08:18 2012 -0700 |
committer | Svetoslav Ganov <svetoslavganov@google.com> | Mon Jun 11 12:18:09 2012 -0700 |
tree | c5f689b687752021d935bfb45494740613611062 | |
parent | 4206ee2b680fb2c273c03efc9083e327c7051121 [diff] |
NPE when iterating by character and word in Launcher widgets. 1. The character and word iterators were use the application context to keep track of locale changes. However, for widgets the context from which the app context is obtained is custom created therefore the app context is null and the iterators code does not expect that. Now we are caching the locale and update it when the configuration changes. bug:6642281 Change-Id: I3fd201ab9e4efd79e3bdc8afd8ee644e4354a7fb