fix RemoteView's content loss in some case

in some case, constantly calling AppWidgetHostView.updateAppWidget(remoteView),
it will create uncancellable AsyncApplyTask when prev AsyncApplyTask goes wrong which will cause
RemoteView's content loss after next AsyncApplyTask finish.
so make sure every AsyncApplyTask is cancellable

Bug:375093288

Test: constantly refresh AppWidgetHostView, make sure RemoteView's content is visible

Change-Id: I52e0d84b8a23c7383eee7163d814cfd8d885010a
Signed-off-by: heyoukang <heyoukang00@gmail.com>
1 file changed