commit | a5e145377938b589996b86703e03fd396fd36596 | [log] [tgz] |
---|---|---|
author | Steven Ng <stevenckng@google.com> | Mon Jun 14 23:59:28 2021 +0100 |
committer | Steven Ng <stevenckng@google.com> | Tue Jun 15 00:01:04 2021 +0100 |
tree | 4754c08b1be7d4da69bc67ee075950cae8353709 | |
parent | d541300f0e4af591fe258442a201f1d8094da5e2 [diff] |
Reattach LauncherAppWidgetHostView to its parent after canceling drag onDrop isn't called if the drag is canceled at Launcher.onPause. Let's also reattach LauncherAppWidgetHostView to its parent in this case. Test: long press and hold a widget and, at the same time, press the power button. Don't let go of the long press and press the power button. No crash observed. Fix: 190950646 Change-Id: Id52a51291863b7ef63c861eb6dc23b015484be65