Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ce9d5f91 authored by heyoukang's avatar heyoukang Committed by Youkang He
Browse files

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: default avatarheyoukang <heyoukang00@gmail.com>
parent 426b2104
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment