commit | 31b3cbf029ac96066e096328aff6902b29e5df62 | [log] [tgz] |
---|---|---|
author | Tianjie <xunchang@google.com> | Tue Apr 13 11:04:36 2021 -0700 |
committer | Tianjie <xunchang@google.com> | Mon May 10 18:01:16 2021 -0700 |
tree | 8a6e4cb992a50451d40a6e2b4e5a891be88949aa | |
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