commit | 58b2453ed69197d765c7254241d9966ee49a3efb | [log] [tgz] |
---|---|---|
author | Beverly <beverlyt@google.com> | Tue Oct 02 09:08:23 2018 -0400 |
committer | Beverly <beverlyt@google.com> | Tue Oct 02 15:33:10 2018 -0400 |
tree | e0c7d7b97d73fb173ef07ef9428d278be1668149 | |
parent | f9151368ce4a0b585ae9002cbf0c986f85d37d43 [diff] |
Always allow toasts from foreground apps If the app is in foreground, allow the app to post toasts even when notifications are blocked for that app. Also added tests for when Toasts should/shouldn't show. Test: atest frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/NotificationManagerServiceTest.java Change-Id: I4f14b313d9b751c5ad00d309462aee6460cddad0 Fixes: 71546399