diff options
| author | 2022-10-31 10:56:36 +0800 | |
|---|---|---|
| committer | 2023-01-06 01:33:03 +0000 | |
| commit | bd4ab0384061ef64a64a1ed3e2dae8667c7743de (patch) | |
| tree | 1ec3f7505ccab2f4f1198428e64c5ec26ba35bd8 /libs/androidfw/AttributeResolution.cpp | |
| parent | 61d3c91e4f807392bafe72dcd68bae78e07fc77d (diff) | |
Fixes NPE crash when VRI#setView fail before input stage was create.
Also catch RuntimeException for addToDisplayAsUser in case the throwing
type was not RemoteException.
Bug: 253200800
Bug: 263078961
Test: Simulate to throw a runtime exception in WMS#addWindow, and verify
VRI#setView should catch that exception, and clear resources without
crash.
Change-Id: Ia113b836e4a18c656093f9db7f63e9c50c427e6c
Merged-In: Ia113b836e4a18c656093f9db7f63e9c50c427e6c
(cherry picked from commit f1a574074ac81906be3a2a500aae96f8da330733)
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions