commit | dfc99e591404fec9a415f231bd4cacbb32a36a23 | [log] [tgz] |
---|---|---|
author | Bishoy Gendy <bishoygendy@google.com> | Thu Feb 22 09:25:38 2024 +0000 |
committer | Bishoy Gendy <bishoygendy@google.com> | Thu Feb 29 12:01:10 2024 +0000 |
tree | 209e2bd7b7b5f7505cbae3f85ca0683c0dc76d7a | |
parent | e2484b21c24c5cd2a0e84540d3e9d4f1516134a4 [diff] |
Ignore setForegroundAllowance calls in case of MediaSession2 - For an app to fullfill FGS requirements, it needs to have a user-engaged media session that is linked to a media style notification. - Currently notifications can't be linked to a MediaSession2, so we don't report the changes in user engagement in cases of MediaSession2. Bug: 295518668 Test: Non functional change for non MediaSession2 cases. Change-Id: Iae81139a20b39e9f59dfacc43512a00c7abd8f05