don't cache decoded message over configurations

Since 773600c717, the message decoding
process might actually depend on theming parameters.  The MessageList
activity assumes that the theme will be reapplied during a call to
`recreate()`, so we better drop that cache on configuration changes.
This commit is contained in:
Vincent Breitmoser 2016-10-07 18:43:32 +02:00
parent c7b5a50636
commit 22e8f4cedb

View file

@ -146,6 +146,8 @@ public class MessageLoaderHelper {
* asyncStartOrResumeLoadingMessage in a new instance of this class. */
@UiThread
public void onDestroyChangingConfigurations() {
cancelAndClearDecodeLoader();
if (messageCryptoHelper != null) {
messageCryptoHelper.detachCallback();
}