diff options
author | 2025-03-05 12:43:52 -0800 | |
---|---|---|
committer | 2025-03-05 12:43:52 -0800 | |
commit | 72e47ac89dbeced2268b2c968d0d64f3fcea31d0 (patch) | |
tree | ba0db72219c88e6d5fa6b378b57db0d4eaaf77a5 /native/android/trace.cpp | |
parent | 1aa93c30d1b3d01c1608628194aef582022eb6c1 (diff) |
Fix sysui crash with bubble to fullscreen flag
When bubble to fullscreen flag is enabled we create a DesktopTasksController, which depends on a DesksTransitionObserver.
However, the Provides method for DesksTransitionObserver doesn't check
for the state of the bubble to fullscreen flag so it may be empty, which
results in a crash on startup.
This change updates the Provides method for DesksTransitionObserver to
interrogate the state of the flag.
Flag: com.android.wm.shell.enable_bubble_to_fullscreen
Fixes: 401021955
Test: manual
- enable bubble to fullscreen flag
- verify sysui doesn't crash on startup
Change-Id: Ia6b8b0c1643e443cb6a414621c1e478aa88b1040
Diffstat (limited to 'native/android/trace.cpp')
0 files changed, 0 insertions, 0 deletions