diff options
author | 2025-03-17 03:26:21 +0000 | |
---|---|---|
committer | 2025-03-24 02:20:37 +0000 | |
commit | 81c0503e64fa2989bc171fdd5f27b8a542d71694 (patch) | |
tree | 8201b723da6f112e1768db6a404509957f19575c /libs/androidfw/LocaleDataLookup.cpp | |
parent | d268778160730bf53a55bec6629ee4b8755a9953 (diff) |
Sets mAdded to true only when the #setView is done successfully
ViewRootImpl#mAdded was set to true, but the system crashed and
caused exception thrown and ended the method early. In that case,
the mFirstInputStage was not yet initialized, and caused another NPE
while performing the clean-up.
Bug: 385705687
Test: wm presubmit
Flag: com.android.window.flags.fix_view_root_call_trace
Change-Id: I799f563d637468b00efdc7fb0fce9ce1c28d1ee6
Diffstat (limited to 'libs/androidfw/LocaleDataLookup.cpp')
0 files changed, 0 insertions, 0 deletions