OSDN Git Service

Fixed the touch targets when replying
authorSelim Cinek <cinek@google.com>
Mon, 9 Apr 2018 17:44:52 +0000 (10:44 -0700)
committerSelim Cinek <cinek@google.com>
Mon, 9 Apr 2018 18:32:05 +0000 (11:32 -0700)
commita77d2c58e7edac338a69864c8970b794df401614
treed62520b5baa1e297ebba4771ff18614298abaabd
parentb172d5b4375ecb1895d3d7bed3d94e4fac3551a2
Fixed the touch targets when replying

Because part of the reply field was outside the notification,
clicks on the remote input or the send button could be discarded
and go to the view instead.
We're not manually dispatching those touches to the remoteInput.
Additionally are we now closing the input field first and only
then opening the app.

Change-Id: Iaea3fb78347dfc3a3e22b0d7155e6d2e50c82285
Fixes: 74161213
Fixes: 77482496
Test: open inline reply, click on very bottom below text, observe that app isn't opened
packages/SystemUI/res/layout/remote_input.xml
packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java