Loading core/java/android/os/image/DynamicSystemClient.java +3 −3 Original line number Diff line number Diff line Loading @@ -211,7 +211,7 @@ public class DynamicSystemClient { * Intent Keys */ /** * Intent key: Size of system image, in bytes. * Intent key: Size of the system image, in bytes. * @hide */ public static final String KEY_SYSTEM_SIZE = "KEY_SYSTEM_SIZE"; Loading Loading @@ -365,7 +365,7 @@ public class DynamicSystemClient { * * This function doesn't require prior calling {@link #bind}. * * @param systemUrl A network URL or a file URL to system image. * @param systemUrl a network Uri, a file Uri or a content Uri pointing to a system image file. * @param systemSize size of system image. */ @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) Loading @@ -381,7 +381,7 @@ public class DynamicSystemClient { * * This function doesn't require prior calling {@link #bind}. * * @param systemUrl A network URL or a file URL to system image. * @param systemUrl a network Uri, a file Uri or a content Uri pointing to a system image file. * @param systemSize size of system image. * @param userdataSize bytes reserved for userdata. */ Loading packages/DynamicSystemInstallationService/res/values/strings.xml +6 −6 Original line number Diff line number Diff line Loading @@ -13,11 +13,11 @@ <string name="keyguard_description">Please enter your password and continue to AndroidOnTap installation</string> <!-- Displayed on notification: AndroidOnTap installation is completed [CHAR LIMIT=128] --> <string name="notification_install_completed">New system is ready, you can reboot into it or discard it.</string> <string name="notification_install_completed">System update is ready. To finish installing, restart your device.</string> <!-- Displayed on notification: AndroidOnTap installation is in progress [CHAR LIMIT=128] --> <string name="notification_install_inprogress">Installation is in progress.</string> <string name="notification_install_inprogress">Install in progress</string> <!-- Displayed on notification: AndroidOnTap installation is in progress [CHAR LIMIT=128] --> <string name="notification_install_failed">Installation Failed.</string> <string name="notification_install_failed">Install Failed</string> <!-- Displayed on notification: We are running in AndroidOnTap [CHAR LIMIT=128] --> <string name="notification_dynsystem_in_use">We are running in AndroidOnTap.</string> Loading @@ -27,12 +27,12 @@ <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_dynsystem">Reboot</string> <!-- Action on notification: Restart to AndroidOnTap [CHAR LIMIT=16] --> <string name="notification_action_reboot_to_dynsystem">Restart</string> <!-- Toast when installed AndroidOnTap is discarded [CHAR LIMIT=64] --> <string name="toast_dynsystem_discarded">Installed AndroidOnTap is discarded.</string> <!-- Toast when we fail to launch into AndroidOnTap [CHAR LIMIT=64] --> <string name="toast_failed_to_reboot_to_dynsystem">Failed to reboot into AndroidOnTap.</string> <string name="toast_failed_to_reboot_to_dynsystem">Failed to restart to AndroidOnTap.</string> </resources> packages/DynamicSystemInstallationService/src/com/android/dynandroid/DynamicSystemInstallationService.java +4 −4 Original line number Diff line number Diff line Loading @@ -379,14 +379,14 @@ public class DynamicSystemInstallationService extends Service case STATUS_READY: builder.setContentText(getString(R.string.notification_install_completed)); builder.addAction(new Notification.Action.Builder( null, getString(R.string.notification_action_reboot_to_dynsystem), createPendingIntent(ACTION_REBOOT_TO_DYN_SYSTEM)).build()); builder.addAction(new Notification.Action.Builder( null, getString(R.string.notification_action_discard), createPendingIntent(ACTION_DISCARD_INSTALL)).build()); builder.addAction(new Notification.Action.Builder( null, getString(R.string.notification_action_reboot_to_dynsystem), createPendingIntent(ACTION_REBOOT_TO_DYN_SYSTEM)).build()); break; case STATUS_IN_USE: Loading Loading
core/java/android/os/image/DynamicSystemClient.java +3 −3 Original line number Diff line number Diff line Loading @@ -211,7 +211,7 @@ public class DynamicSystemClient { * Intent Keys */ /** * Intent key: Size of system image, in bytes. * Intent key: Size of the system image, in bytes. * @hide */ public static final String KEY_SYSTEM_SIZE = "KEY_SYSTEM_SIZE"; Loading Loading @@ -365,7 +365,7 @@ public class DynamicSystemClient { * * This function doesn't require prior calling {@link #bind}. * * @param systemUrl A network URL or a file URL to system image. * @param systemUrl a network Uri, a file Uri or a content Uri pointing to a system image file. * @param systemSize size of system image. */ @RequiresPermission(android.Manifest.permission.INSTALL_DYNAMIC_SYSTEM) Loading @@ -381,7 +381,7 @@ public class DynamicSystemClient { * * This function doesn't require prior calling {@link #bind}. * * @param systemUrl A network URL or a file URL to system image. * @param systemUrl a network Uri, a file Uri or a content Uri pointing to a system image file. * @param systemSize size of system image. * @param userdataSize bytes reserved for userdata. */ Loading
packages/DynamicSystemInstallationService/res/values/strings.xml +6 −6 Original line number Diff line number Diff line Loading @@ -13,11 +13,11 @@ <string name="keyguard_description">Please enter your password and continue to AndroidOnTap installation</string> <!-- Displayed on notification: AndroidOnTap installation is completed [CHAR LIMIT=128] --> <string name="notification_install_completed">New system is ready, you can reboot into it or discard it.</string> <string name="notification_install_completed">System update is ready. To finish installing, restart your device.</string> <!-- Displayed on notification: AndroidOnTap installation is in progress [CHAR LIMIT=128] --> <string name="notification_install_inprogress">Installation is in progress.</string> <string name="notification_install_inprogress">Install in progress</string> <!-- Displayed on notification: AndroidOnTap installation is in progress [CHAR LIMIT=128] --> <string name="notification_install_failed">Installation Failed.</string> <string name="notification_install_failed">Install Failed</string> <!-- Displayed on notification: We are running in AndroidOnTap [CHAR LIMIT=128] --> <string name="notification_dynsystem_in_use">We are running in AndroidOnTap.</string> Loading @@ -27,12 +27,12 @@ <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_dynsystem">Reboot</string> <!-- Action on notification: Restart to AndroidOnTap [CHAR LIMIT=16] --> <string name="notification_action_reboot_to_dynsystem">Restart</string> <!-- Toast when installed AndroidOnTap is discarded [CHAR LIMIT=64] --> <string name="toast_dynsystem_discarded">Installed AndroidOnTap is discarded.</string> <!-- Toast when we fail to launch into AndroidOnTap [CHAR LIMIT=64] --> <string name="toast_failed_to_reboot_to_dynsystem">Failed to reboot into AndroidOnTap.</string> <string name="toast_failed_to_reboot_to_dynsystem">Failed to restart to AndroidOnTap.</string> </resources>
packages/DynamicSystemInstallationService/src/com/android/dynandroid/DynamicSystemInstallationService.java +4 −4 Original line number Diff line number Diff line Loading @@ -379,14 +379,14 @@ public class DynamicSystemInstallationService extends Service case STATUS_READY: builder.setContentText(getString(R.string.notification_install_completed)); builder.addAction(new Notification.Action.Builder( null, getString(R.string.notification_action_reboot_to_dynsystem), createPendingIntent(ACTION_REBOOT_TO_DYN_SYSTEM)).build()); builder.addAction(new Notification.Action.Builder( null, getString(R.string.notification_action_discard), createPendingIntent(ACTION_DISCARD_INSTALL)).build()); builder.addAction(new Notification.Action.Builder( null, getString(R.string.notification_action_reboot_to_dynsystem), createPendingIntent(ACTION_REBOOT_TO_DYN_SYSTEM)).build()); break; case STATUS_IN_USE: Loading