diff options
| author | 2025-03-04 10:56:47 -0800 | |
|---|---|---|
| committer | 2025-03-04 14:34:18 -0800 | |
| commit | 4f7b5bfbee7e2b015bcc7b835844e0d102d808a8 (patch) | |
| tree | f06da089ca79bddfe191601458a9f4b0c94f6191 /libs/androidfw/StringPool.cpp | |
| parent | 131c2c8f7da06f4485b3103e424e87cf450beea7 (diff) | |
Filter out null bitmaps when showing "Manage Windows" menu
When we have too many instances open,
ActivityTaskManagerService#takeTaskSnapshot returns null. This change
filters out those snapshots so that NullPointerExceptions are not shown
when the Multi-instance menu is opened.
Bug: 380198576
Test: Open more than 50 new windows from header
Flag: com.android.window.flags.enable_desktop_windowing_mode
Change-Id: I25ca5978d642ae7f764d635ecdaf76e2fb6169d7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions