commit | 0c99b791a0a401d1c2ba885c039233e62fbc5fb3 | [log] [tgz] |
---|---|---|
author | Nate Myren <ntmyren@google.com> | Wed Mar 02 19:26:29 2022 -0800 |
committer | Nate Myren <ntmyren@google.com> | Fri Mar 04 11:16:30 2022 -0800 |
tree | 351f0628a8fc5f53fa87a55e8ebb780914ad4c51 | |
parent | 8da492907e34c8b5c9a35b7a979ab32b67c40dd0 [diff] |
Check all tasks for good intent launch when creating channels When creating a notification channel, call into the ActivityTaskManager to determine if there are any valid tasks to show a permission prompt over. Creates the method in ActivityTaskManagerInternal to support this. Bug: 17047250 Test: atest NotificationPermissionTest Change-Id: I7b2b6a42101607b1eaa25f108760cc2449661499