commit | b7b2856de6258ee2595cc60b30e2e3c6648dfc74 | [log] [tgz] |
---|---|---|
author | Nan Wu <wnan@google.com> | Fri Dec 02 19:08:54 2022 +0000 |
committer | Nan Wu <wnan@google.com> | Fri Nov 10 14:37:37 2023 +0000 |
tree | 68e2ce18eae5854f1921a459509e9c4a80e7a582 | |
parent | 030ee2ca48ee1d4a85765e36a99748ec95ef62c7 [diff] |
DO NOT MERGE Disallow Wallpaper service to launch activity from background. Add a flag so that when a foreground client binds to a service, disallow the bound service to launch activity from background. Modify the WallpaperManagerService to take advantage of the new flag. Test: atest BackgroundActivityLaunchTest WallpaperManagerServiceTests Bug: 261072174 Change-Id: Id4e4cb6144597cf3638f2aaa34ea455a239fa1a7 (cherry picked from commit 064be0ffc599a94ee2c4016cf69f4e8e0f062227)