Commit Graph

3 Commits

Author SHA1 Message Date
Po-Chien Hsueh
646d9f32fb Better response when fail to reboot to AOT
Display a Toast message when hitting native error rebooting into
AndroidOnTap.

Bug: 123673280
Test: adb shell am
Change-Id: I1b8acb2c19fb2c365c4c005e3866c79ef930aadc
2019-03-13 17:07:47 +08:00
Po-Chien Hsueh
34de5af4fd 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
2019-03-13 17:07:26 +08:00
Po-Chien Hsueh
64aa78297f Add DynamicAndroidInstallationService
DynamicAndroidInstallationService is a framework service to download,
unzip and write DynamicAndroid images. Apps should interact with it
using DynamicAndroidClient. Or, developers can use adb am commmands.

Test: build and run on internal target
Bug: 122015653
Change-Id: I7c834ed37de52840a407fb140743eda1f2bd82e8
2019-02-02 23:46:03 +08:00