Stop 1 sec updates of ECBM Notification
Previously, the ECBM notification would call update
1/sec to update the time before we get out of ECBM
in the notification. In the new system, this causes
a sound to occur every time the notification updates.
This fixes the issue by utilizing the notification
when() method instead.
Test: ECBM mode on Vzw SIM
Bug: 38175843
Change-Id: I1cdef9c1b17a0d2ccbb2c8b51928c05b0095f839
diff --git a/res/values/strings.xml b/res/values/strings.xml
index b0aae34..7009fd8 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1193,12 +1193,8 @@
<string name="phone_in_ecm_notification_title">Emergency Callback Mode</string>
<!-- ECM: Notification body -->
<string name="phone_in_ecm_call_notification_text">Data connection disabled</string>
- <plurals name="phone_in_ecm_notification_time">
- <!-- number of minutes is one -->
- <item quantity="one">No data connection for <xliff:g id="count">%s</xliff:g> minute</item>
- <!-- number of minutes is not equal to one -->
- <item quantity="other">No data connection for <xliff:g id="count">%s</xliff:g> minutes</item>
- </plurals>
+ <!-- ECM: Displays the time when ECM will end, Example: "No Data Connection until 10:45 AM" -->
+ <string name="phone_in_ecm_notification_complete_time">No data connection until <xliff:g id="completeTime">%s</xliff:g></string>
<!-- ECM: Dialog box message for exiting from the notifications screen -->
<plurals name="alert_dialog_exit_ecm">
<!-- number of minutes is one -->