summaryrefslogtreecommitdiff
path: root/packages/DynamicSystemInstallationService/src
diff options
context:
space:
mode:
authorPo-Chien Hsueh <pchsueh@google.com>2020-02-20 14:19:39 +0800
committerPo-Chien Hsueh <pchsueh@google.com>2020-02-20 14:19:39 +0800
commit5b380af950681b766a6f4363b1407419c3258bf1 (patch)
tree2f9fb4d3e16057865450504b111a868b44503438 /packages/DynamicSystemInstallationService/src
parenta975b9a901f69843758d403aa804d2c014b3067c (diff)
Replace action button "Uninstall" with "Restart"
When DSU is running, restarting the device will not uninstall the installed system update. Bug: 149716233 Test: run DSU install Change-Id: If4e7b2f5f9123161ae85c0be80069aa600548c74
Diffstat (limited to 'packages/DynamicSystemInstallationService/src')
-rw-r--r--packages/DynamicSystemInstallationService/src/com/android/dynsystem/DynamicSystemInstallationService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/DynamicSystemInstallationService/src/com/android/dynsystem/DynamicSystemInstallationService.java b/packages/DynamicSystemInstallationService/src/com/android/dynsystem/DynamicSystemInstallationService.java
index 7affe8888628..37a77be52983 100644
--- a/packages/DynamicSystemInstallationService/src/com/android/dynsystem/DynamicSystemInstallationService.java
+++ b/packages/DynamicSystemInstallationService/src/com/android/dynsystem/DynamicSystemInstallationService.java
@@ -462,7 +462,7 @@ public class DynamicSystemInstallationService extends Service
.setStyle(new Notification.BigTextStyle().bigText(msgInUse));
builder.addAction(new Notification.Action.Builder(
- null, getString(R.string.notification_action_uninstall),
+ null, getString(R.string.notification_action_reboot_to_origin),
createPendingIntent(ACTION_REBOOT_TO_NORMAL)).build());
break;