commit | 98cbd62e1f6d57ccef1758fb82dd245f7354fb73 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Thu Aug 04 11:52:18 2016 -0700 |
committer | Tony Wickham <twickham@google.com> | Thu Aug 04 11:52:18 2016 -0700 |
tree | 0c3ce2d045b92b9cbcfb44026cd292f2bc7c1363 | |
parent | 5a5eb846c410c6ed6c1c0fb01edf82e118c35830 [diff] |
Reset mActiveController to null in DragLayer.onInterceptTouchEvent(). Otherwise the previous active controller will continue to handle touch events even if it doesn't re-intercept future touches. For instance, All Apps was handling the swipe gesture after DragLayer intercepted to close a shortcuts container, which led to the weird behavior described in the bug. Bug: 30590854 Change-Id: I247b39b03d336a04659f6ce644380bf3cef8de3f