Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Component used:
I have an app that has 2 widgets: Tasks and Calendar. When the
Calendar
widget is placed in the home screen and I refresh the Tasks widget (not currently placed) usingTasksWidget().updateAll(context)
, the placed Calendar widget is replaced with the Tasks widget on the home screen (I update the widgets everytime an item is added in the app, so an update call might happen even if the widget is not placed). The same thing happens when theTasks
widget is placed and I callCalendarWidget().updateAll(context)
I think it's related to R8 since the problem does not happen in the debug version. Also, the problem does not happen when
keep
ing all classes in the widgets module inproguard-rules.pro