diff options
| author | 2022-09-08 23:22:36 +0000 | |
|---|---|---|
| committer | 2022-09-08 23:22:36 +0000 | |
| commit | 7234187cf1e703592c15f0f6d271ae74cb193f40 (patch) | |
| tree | 342290e7aab0ce67bd0711929ff7814c680e97b5 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 486626b5ea803b43933225d24aa28a2816a94380 (diff) | |
Removes complication in onMediaDataLoaded if hasActiveMedia is false.
With this change, the complication is removed for the following cases:
1. When the media app is removed from Recents screen.
- Notes:
- This doesn't trigger onMediaDataRemoved, but it causes the
media to become inactive.
- This also causes the mediaHost view to become invisible.
2. When the user swipes to dismiss the UMO on Keyguard.
- This also causes the media to become inactive.
Bug: 242613318
Test: manually on device
Test: atest MediaDreamSentinelTest
Change-Id: Iedd7ed264e62306b2e34f6f798259176591039ec
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions