am 55555a3d: Fixes rejected dismiss gestures (framework version of ag/677161)

* commit '55555a3dab1f3b99a3299b90851624e9dc10f3cc':
  Fixes rejected dismiss gestures (framework version of ag/677161)