diff options
author | Hui Yu <huiyu@google.com> | 2020-01-15 15:52:08 -0800 |
---|---|---|
committer | Hui Yu <huiyu@google.com> | 2020-01-17 16:58:20 -0800 |
commit | 85679b4d19ffa5f1d586511c6dba42155b9cc8b1 (patch) | |
tree | 1938d5be482a2a361a305418b7e5c3feeba74b58 /tests/net/java/com/android/server/ConnectivityServiceTest.java | |
parent | 45da5e671f748b6d4d13a5ccc988de1e5f909c53 (diff) |
Add new foreground service type camera and microphone.
To be used to configure foreground service camera/microphone
while-in-use permission.
For apps with targetSdkVersion R and above, a foreground service
will not be able to access camera/microphone if the foreground service
type is not specified in the manifest and in
android.app.Service#startForeground().
Bug: 136219221
Test: atest android.app.cts.ActivityManagerProcessStateTest
Change-Id: I75c62efca5f07ba1239e21d9a6f6673f822eabba
Diffstat (limited to 'tests/net/java/com/android/server/ConnectivityServiceTest.java')
0 files changed, 0 insertions, 0 deletions