commit | ebc2f29dd6dd959c6df2abbbc1a8d4f87af0dc81 | [log] [tgz] |
---|---|---|
author | Nate Myren <ntmyren@google.com> | Wed Oct 13 09:55:15 2021 -0700 |
committer | Nate Myren <ntmyren@google.com> | Tue Jan 04 15:04:23 2022 -0800 |
tree | e4b868ddfe5f5f2522f55e36ed4adc742a6b55ec | |
parent | 9710d3a2bb48999b9c5bf9d899d232117480656c [diff] |
Intercept activity start to check for notification permissions The dialog is shown if the app is not a signature app, the system is ready, and the app has created at least one notification channel. Also applies the SHOULD_SHOW_REQUEST flag to all packages with implicit POST_NOTIFICATIONS permissions Bug: 194833441 Test: atest NotificationPermissionTest Change-Id: I4cb8cc7bcc3635f55e291f176f722dd420a4a1bb