diff options
author | Jan Tomljanovic <jtomljanovic@google.com> | 2020-11-06 11:28:09 +0000 |
---|---|---|
committer | Jan Tomljanovic <jtomljanovic@google.com> | 2020-11-10 14:27:08 +0000 |
commit | ea90e9501b7925338f3e61fa8ea1b5d0902a53bb (patch) | |
tree | 6beb5ed95e9d4bc684c28b969f548e7fbd7886c3 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 85b41414abedcddf94fb0afa3a57f83bbecd2a33 (diff) |
Don't try to show the current toast again while it's showing.
By doing this we avoid a few bad things:
- mechanism that hides the current toast by trying to show it again
- delaying the call to hide and remove the current toast from the queue
when it's duration expires (which in the case of repeated calls can
delay this indefinitely)
Test: atest NotificationManagerServiceTest
Test: atest android.widget.cts.ToastTest
Bug: 167672740
Change-Id: Ie4953109314113efae49fa0c5e0c236e6e0dbb23
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions