diff options
author | Tianjie <xunchang@google.com> | 2021-04-13 11:04:36 -0700 |
---|---|---|
committer | Tianjie <xunchang@google.com> | 2021-05-10 18:01:16 -0700 |
commit | 31b3cbf029ac96066e096328aff6902b29e5df62 (patch) | |
tree | 8a6e4cb992a50451d40a6e2b4e5a891be88949aa /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 60cd2fa6269001ca0661c9204ec9b06d3f31c58c (diff) |
Check null for before using LockSettingsService
If the locksettings service fails to start, the resume on reboot
APIs will throw a nullptr exception in RecoverySystemService. Add
some check to prevent crashing the system server.
Bug: 184596745
Test: build
Change-Id: I5b1781612ec8d855d94b2828b5b5cfee9a84aebe
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions