diff options
| author | 2025-03-07 12:54:30 +0900 | |
|---|---|---|
| committer | 2025-03-10 16:17:58 +0900 | |
| commit | c59a827e87712d45bb456deb742f88633ad41b66 (patch) | |
| tree | d19bbfc7df0ba3b4282832d13c85c1d1575afba9 /libs/androidfw/misc.cpp | |
| parent | 12bd0c83e0d837baacf5c0bb7d7060e1a63de103 (diff) | |
Cancel toasts when display mirroring starts
When display mirroring starts, all windows on the mirroring display must
be removed. Otherwise, SurfaceFlinger will not initiate mirroring.
Previously, if a toast was on the mirroring display, it prevented
mirroring from starting and remained visible.
This change updates DisplayPolicy to cancel toasts when mirroring
begins.
Bug: 389833251
Test: DisplayWindowSettingsTests
Test: NotificationManagerServiceTest
Flag: com.android.server.display.feature.flags.enable_display_content_mode_management
Change-Id: If54418a0526b7b6c8f00e972bc0b39e362d6d7df
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions