Fix swipe-to-dismiss to properly react to swipe gestures.

Test: manual test
Bug: 33588580
Change-Id: If8d03f90a25e989e254e3a21bafef4e76bab5d7b
1 file changed