commit | 37d67e207f864df5f811ea47a7ddccc1b986698d | [log] [tgz] |
---|---|---|
author | Gus Prevas <kprevas@google.com> | Fri Nov 02 14:48:55 2018 -0400 |
committer | Gus Prevas <kprevas@google.com> | Wed Nov 07 14:29:04 2018 +0000 |
tree | ccf984e0f5ab8bb06ce199ee1196d8cd4ebad1f1 | |
parent | c5cee1e4c0bc583fc20710f950aac1947d8e6316 [diff] |
Disables dismissing notification on leftward swipe. This change modifies SwipeHelper to pass the direction of a swipe to the provided callback when determining whether the swipe represents a valid dismiss gesture, and modifies the callback defined by NotificationStackScrollLayout to allow dismiss gestures only to the right. Test: manually Change-Id: I7ff1e8f92e7da9ed36520195d823f9a62f9a64ba