commit | b91b842bcbf5be1767624bd1a17681e93039902b | [log] [tgz] |
---|---|---|
author | Nan Wu <wnan@google.com> | Mon Mar 11 14:13:04 2024 +0000 |
committer | Achim Thesmann <achim@google.com> | Fri Mar 15 04:00:11 2024 +0000 |
tree | 257712185b59f01ad5f2ccaeafeee9176392249a | |
parent | 75c8b5995be1a627c1b7fe5c4020a5753d650dde [diff] |
Prevent PI creator to set pendingIntentBackgroundActiivtyLaunchAllowedByPermission to true This activity option is only meant to be set by PI sender, evidenced by the checking logic in BackgroundActivityStartController. checkBackgroundActivityStartAllowedBySender checks it. checkBackgroundActivityStartAllowedByCaller does not check it. Bug: 272740688 Test: Manual test. Atest BackgroundActivityLaunchTest Change-Id: Ifa40208b2fb934d89bff10786ad0c78ce8ab9571