commit | dc4aa4b86e87f4eabecd236a9d75dff8b89fd623 | [log] [tgz] |
---|---|---|
author | Makoto Onuki <omakoto@google.com> | Thu May 13 09:30:42 2021 -0700 |
committer | Makoto Onuki <omakoto@google.com> | Thu May 13 12:21:39 2021 -0700 |
tree | d07cbeeb15628146fe642782ea891977a390cfa4 | |
parent | b04efdff7045dfe585b7dbc9571dd95b0e35f204 [diff] |
Add a permission for CDM apps to start FGS from the background Previously, any apps with a CDM association was allowed to start foreground services from the background. Now, only apps with REQUEST_COMPANION_START_FOREGROUND_SERVICES_FROM_BACKGROUND (or REQUEST_COMPANION_RUN_IN_BACKGROUND) are allowed to do so. Bug: 186536261 Test: Manual test with a test app using CDM. With and without these permissions. Change-Id: Ic00aa1c7cfefc37bf89ea3079ef0977aee12499b