commit | 7286b5e22b4fd15c6d60c9e9f62173bc0fbb3f97 | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Fri Apr 08 14:31:45 2022 +0100 |
committer | Rubin Xu <rubinxu@google.com> | Fri Apr 08 14:31:45 2022 +0100 |
tree | a8d451fb5e504a9ad094c77bb7c4e8b98a86d93b | |
parent | d86e9e8614b9c72b68dff90c585c11a26ee385f5 [diff] |
Self-grant permission to post notification from work profile The work profile instance of CtsVerifier needs POST_NOTIFICATIONS permission to send notifications, which some tests depends on. Self-grant the permission after the work profile is created. Bug: 226010571 Test: CtsVerifier -> BYOD managed Provisioning > Keyguard disabled features > Unredacted notifications disabled on keyguard Change-Id: I092b9e1ed5c9f89ff9362060b178c1bc6952bebb