diff options
author | Beverly <beverlyt@google.com> | 2020-12-21 10:42:10 -0500 |
---|---|---|
committer | Beverly <beverlyt@google.com> | 2020-12-23 08:17:01 -0500 |
commit | 134206b120d2aad3b566d64b4ec5903fd1d19ad7 (patch) | |
tree | ba0c47d2e6389e90a1004f1bfed01510b9a946d7 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 2e344a1e00647954d1dd89ca8e651631b5c351cb (diff) |
Update notif onClick logic
NMS.onClick must be called before waiting for the shade to collapse so
that the correct cancellation reason is sent to NSLs (ie: REASON_CLICK = 1,
not REASON_APP_CANCEL = 8 or REASON_GROUP_SUMMARY_CANCELED = 12).
However, we also need to retrieve the group summary to dismiss before
NMS.onClick is sent to avoid a different race condition: b/171467963.
Test: atest SystemUITests
Fixes: 175518877
Change-Id: I7f2c3b0682fea3b56d940c62423cd8956192918d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions