diff options
| author | 2023-11-02 20:57:39 +0800 | |
|---|---|---|
| committer | 2023-11-03 15:12:18 +0800 | |
| commit | d84b2dad4895069b75451d4375d98981ae51dd6d (patch) | |
| tree | cb7c45337e3e3e29369c91b8dbcdb40d980264a5 /libs/androidfw/FileStream.cpp | |
| parent | 488eb9856a19aa14faaaca1ae056d960531278d3 (diff) | |
Assign display field when creating WindowState
This avoids a NPE trap in WindowManagerService#addWindow that
the WindowState is created but WindowToken#addWindow(WindowState)
is not call yet (setParent will update mDisplayContent).
Also make WindowContainer#getDisplayContent as a final method
because the hierarchy should sync the field.
Bug: 163976519
Test: CtsWindowManagerDeviceWindow
Change-Id: I5caea8288fcf0e960b9e1b7b36a847d8262d2fb1
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions