commit | 213b30efa8496e9ff6b2fbdc09ad51c88d2d41a4 | [log] [tgz] |
---|---|---|
author | Chris Tate <ctate@google.com> | Fri Oct 22 19:11:18 2010 -0700 |
committer | Chris Tate <ctate@google.com> | Fri Oct 22 19:21:38 2010 -0700 |
tree | a76a7a2e407ffbfa1cb535c4324520cef6675f27 | |
parent | 9d210672319fd04f51bfc6cb3c6cb1a50c1a03c1 [diff] |
Fix drags from the shirt pocket startDrag() may only be called by/on a view that is in the window that is currently being touched. Change-Id: I5de158578dd3f75b5069e5af4f0726576adac4d4
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ShirtPocket.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ShirtPocket.java index 658038c..10b52f2 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ShirtPocket.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ShirtPocket.java
@@ -169,7 +169,7 @@ thumb = new DragThumbnailBuilder(mWindow.findViewById(R.id.preview)); } - ShirtPocket.this.startDrag(clip, thumb, false); + v.startDrag(clip, thumb, false); // TODO: only discard the clipping if it was accepted stash(null);