summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorGus Prevas <kprevas@google.com>2019-01-04 15:13:21 -0500
committerGus Prevas <kprevas@google.com>2019-01-04 15:13:21 -0500
commitfe15aa1f9fb43cdd63a1e9fb17dec4ef98b4ccbf (patch)
tree99e3fd6b73c4caf066eb3b87589d6b5e6fcb5139 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent22b99b471c115add9d09ac82b85b9939aacb5e24 (diff)
Fixes notification swipe snapping when menu is empty.
This change modifies the swipe handling logic in NotificationSwipeHelper such that it doesn't attempt to snap to the "menu open" state when the menu is zero width (i.e. it's snapping on a left-to-right gesture and the menu is only enabled for right-to-left swipes). This prevents us from getting in to a state where the menu was considered "open" when it wasn't, which caused the next gesture to be handled incorrectly. Change-Id: I3b78e95de7266e5a469637007ca78f7af2caab49 Fixes: 121077588 Test: manually
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions