commit | c8588e3a0eb2497e6504f77bc4cbd062c6fe6613 | [log] [tgz] |
---|---|---|
author | Jan Tomljanovic <jtomljanovic@google.com> | Wed Nov 11 13:40:36 2020 +0000 |
committer | Jan Tomljanovic <jtomljanovic@google.com> | Wed Nov 11 19:59:33 2020 +0000 |
tree | 564d8117affe4c894f353b763dd5ec5cbe52a894 | |
parent | 85b41414abedcddf94fb0afa3a57f83bbecd2a33 [diff] |
Limit the number of posted toasts by package to 5. We consider posting a toast many seconds after it was triggered bad UX, this change limits that behaviour. Test: atest NotificationManagerServiceTest Test: atest android.widget.cts.ToastTest Bug: 171959286 Change-Id: I5d8cded37fbc9e5d4dca195436e1dff81c7f0e9e