I have a drag and drop function in my app that allows a user to move card images around on the screen. This functionality was working on all devices until it was tested on a Pixel device running Android 10. Now the DragShadow of the touched object sometimes remains and leaks out of the app. The image remains on screen even after shutting down the app and even after uninstalling the app. Only a full restart of the device will clear the images.
I obviously first suspected my code but since the imageViews are disconnected from the app environment I am now suspecting something with the RunTime system of Android 10.
Any ideas would be greatly appreciated. I can post code if needed but this class is around 3000 lines so I won't be posting the whole thing.