commit | ba4997ac355d11db3c7b04d4215c6948d05cb047 | [log] [tgz] |
---|---|---|
author | Gilles Debunne <debunne@google.com> | Mon May 02 14:35:42 2011 -0700 |
committer | Gilles Debunne <debunne@google.com> | Wed May 04 14:28:38 2011 -0700 |
tree | ce9565a4acc9d8aae2c695cd0584579502e8a4ec | |
parent | f0cae1a3f0243f176fbaa4f708e03141121876d0 [diff] |
All SuggestionSpans are removed when the window loses focus. SuggestionSpans should have a limited, well defined life-span. Saving these in onSaveInstanceState is inappropriate since these can be very large and will not necessarily be saved/loaded by the application. Keeping them in the application when it is dismissed is not consistent since they may be garbage collected while the application is not active. Change-Id: Icebf6cb0218528f9d162a689ad33efeb770fbede