commit | 34de5af4fd425f9abdc0ce8e29bec0ead2805f27 | [log] [tgz] |
---|---|---|
author | Po-Chien Hsueh <pchsueh@google.com> | Tue Mar 05 16:00:45 2019 +0800 |
committer | Po-Chien Hsueh <pchsueh@google.com> | Wed Mar 13 17:07:26 2019 +0800 |
tree | 2d45ba941a1d91541388e64e4469268730abcd34 | |
parent | fafa530b5e33d5ef662a0e51d4a2b377b3b722dc [diff] |
Check if isInstalled() when boot completed When the service receives BOOT_COMPLETED, check not only isInUse(), but also isInstalled(). If there is already an AOT installed, notify the user and provide a action button to discard it, or reboot into it again. Bug: 126377329 Test: install AOT and reboot. Change-Id: Ib764524bc755380164dab920c8946247757dde20