fix crashing of launcher after dragging app icon by saving and restoring canvas
Description
Prevents the launcher from crashing whenever user tries to drag and reposition the app icon on homescreen.
Issue(s)
Resolves https://gitlab.e.foundation/e/os/backlog/-/issues/695
Technical details
Replaced old startDrag()
method with the newer startDragAndDrop()
method, also while building the Shadow save and restore the canvas state to prevent crashes.
Check list
-
Self review -
Test procedure explained -
Tested on fresh install -
Tested applied as an update -
License -
Internal documentation -
User documentation