Notification during terminal closing
There is a little delay after shutdown, so change notification content
for a while. And it's useful just in case that shutdown is failing in
the guest
Bug: 381815559
Test: click 'close' in the notification
Change-Id: I7314e3c7b23c51bc677f89c133ca3d18391020d1
diff --git a/android/TerminalApp/res/values/strings.xml b/android/TerminalApp/res/values/strings.xml
index 20fd95d..d21ded1 100644
--- a/android/TerminalApp/res/values/strings.xml
+++ b/android/TerminalApp/res/values/strings.xml
@@ -153,6 +153,11 @@
<!-- Notification action button for closing the virtual machine [CHAR LIMIT=20] -->
<string name="service_notification_quit_action">Close</string>
+ <!-- Notification title for foreground service notification during closing [CHAR LIMIT=none] -->
+ <string name="service_notification_close_title">Terminal is closing</string>
+ <!-- Notification action button for force-closing the virtual machine [CHAR LIMIT=30] -->
+ <string name="service_notification_force_quit_action">Force close</string>
+
<!-- This string is for toast message to notify that VirGL is enabled. [CHAR LIMIT=40] -->
<string name="virgl_enabled"><xliff:g>VirGL</xliff:g> is enabled</string>
</resources>