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:
parent
c7b5a50636
commit
22e8f4cedb
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue