Merge "Update drag-to-open menu close behavior" into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4bf9edfc1f
@@ -1252,14 +1252,7 @@ public class ListPopupWindow {
|
||||
final boolean wasForwarding = mForwarding;
|
||||
final boolean forwarding;
|
||||
if (wasForwarding) {
|
||||
if (mWasLongPress) {
|
||||
// If we started forwarding as a result of a long-press,
|
||||
// just silently stop forwarding events so that the window
|
||||
// stays open.
|
||||
forwarding = onTouchForwarded(event);
|
||||
} else {
|
||||
forwarding = onTouchForwarded(event) || !onForwardingStopped();
|
||||
}
|
||||
forwarding = onTouchForwarded(event) || !onForwardingStopped();
|
||||
} else {
|
||||
forwarding = onTouchObserved(event) && onForwardingStarted();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user