Fix NPE -- check isCancelled in onPostExecute
Bug 3024665 Change-Id: I97c122a6c66a7d4245187961cb90ea874d0e305d
This commit is contained in:
parent
1ef511dafd
commit
353b75b04b
@ -760,7 +760,7 @@ public abstract class MessageViewFragmentBase extends Fragment implements View.O
|
||||
|
||||
@Override
|
||||
protected void onPostExecute(Attachment[] attachments) {
|
||||
if (attachments == null) {
|
||||
if (isCancelled() || attachments == null) {
|
||||
return;
|
||||
}
|
||||
boolean htmlChanged = false;
|
||||
|
Loading…
Reference in New Issue
Block a user