commit | 68e9d08e14f09c88f59e5022d10d6a8ca1b136d0 | [log] [tgz] |
---|---|---|
author | Nan Wu <wnan@google.com> | Wed Dec 06 16:45:39 2023 +0000 |
committer | Nan Wu <wnan@google.com> | Thu Dec 14 16:38:45 2023 +0000 |
tree | 4fdb4e37c821dfa95b804b190df037c9e36ae670 | |
parent | f917eaec7924bc37300c78fc6b04c0f0f242930e [diff] |
Don’t bring App to FG if only creator is allowed to do BAL(2/2) Prevent bringing an app to the foreground by a PendingIntent simply because its creator has the BAL privilege but its sender does not. Also logs the incidents when the app would have been brought to the foreground without this change. Bug: 296478675 Test: BackgroundActivityLaunchTest#testPI_onlyCreatorAllowsBAL_isBlocked Change-Id: I72a6c22a5fb27aeac52a4e5d46c6a16e28ee6757