Adding debugging for stuck widget (issue 6557954)

Change-Id: I73217d6a5dd650278f93ae02672c92c823e08ded
This commit is contained in:
Adam Cohen
2012-05-28 15:01:16 -07:00
parent 951ec583cd
commit 68f681bc7a
2 changed files with 22 additions and 0 deletions
+1
View File
@@ -3181,6 +3181,7 @@ public class Workspace extends SmoothPagedView
// In the case where we've prebound the widget, we remove it from the DragLayer
if (finalView instanceof AppWidgetHostView && external) {
Log.d(TAG, "6557954 Animate widget drop, final view is appWidgetHostView");
mLauncher.getDragLayer().removeView(finalView);
}
if ((animationType == ANIMATE_INTO_POSITION_AND_RESIZE || external) && finalView != null) {