diff options
| author | 2022-10-31 10:56:36 +0800 | |
|---|---|---|
| committer | 2022-10-31 21:21:56 +0800 | |
| commit | f1a574074ac81906be3a2a500aae96f8da330733 (patch) | |
| tree | f499df67de409fa56286f633398ed15503021c5e /libs/androidfw/AssetsProvider.cpp | |
| parent | 607ba2fbe34d3219b852811d7ce8adeceecd151d (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
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
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions