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
36 lines
2.0 KiB
XML
36 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<!-- application name [CHAR LIMIT=32] -->
|
|
<string name="app_name">AndroidOnTap Installer</string>
|
|
|
|
<!-- notification channel name [CHAR LIMIT=32] -->
|
|
<string name="notification_channel_name">AndroidOnTap Installer</string>
|
|
|
|
<!-- password page title [CHAR LIMIT=32] -->
|
|
<string name="keyguard_title">AndroidOnTap Installer</string>
|
|
|
|
<!-- password page description [CHAR LIMIT=128] -->
|
|
<string name="keyguard_description">Please enter your password and continue to AndroidOnTap installation</string>
|
|
|
|
<!-- Displayed on notification: DynAndroid installation is completed [CHAR LIMIT=128] -->
|
|
<string name="notification_install_completed">New system is ready, you can reboot into it or discard it.</string>
|
|
<!-- Displayed on notification: DynAndroid installation is in progress [CHAR LIMIT=128] -->
|
|
<string name="notification_install_inprogress">Installation is in progress.</string>
|
|
<!-- Displayed on notification: DynAndroid installation is in progress [CHAR LIMIT=128] -->
|
|
<string name="notification_install_failed">Installation Failed.</string>
|
|
<!-- Displayed on notification: We are running in AndroidOnTap [CHAR LIMIT=128] -->
|
|
<string name="notification_dynandroid_in_use">We are running in AndroidOnTap.</string>
|
|
|
|
<!-- Action on notification: Cancel installation [CHAR LIMIT=16] -->
|
|
<string name="notification_action_cancel">Cancel</string>
|
|
<!-- Action on notification: Discard installation [CHAR LIMIT=16] -->
|
|
<string name="notification_action_discard">Discard</string>
|
|
<!-- Action on notification: Uninstall AndroidOnTap [CHAR LIMIT=16] -->
|
|
<string name="notification_action_uninstall">Uninstall</string>
|
|
<!-- Action on notification: Reboot to AndroidOnTap [CHAR LIMIT=16] -->
|
|
<string name="notification_action_reboot_to_dynandroid">Reboot</string>
|
|
|
|
<!-- Toast when installed AndroidOnTap is discarded [CHAR LIMIT=64] -->
|
|
<string name="toast_dynandroid_discarded">Installed AndroidOnTap is discarded.</string>
|
|
</resources>
|