Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7969aac authored by Fan Zhang's avatar Fan Zhang
Browse files

Remove unnecessary string.

Bug: 23618281
Change-Id: I9ca8bdbc092e69ae193ba6e1a574bd6c9752ea0e
parent 2f3375a8
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -398,9 +398,6 @@
    <!-- Label on the main screen control used to set alarm [CHAR LIMIT=30]-->
    <string name="control_set_alarm">Set alarm</string>

    <!-- Label on the main screen control used to set alarm when there is already an existing alarm [CHAR LIMIT=30]-->
    <string name="control_set_alarm_with_existing"><xliff:g id="time">%s</xliff:g></string>

    <!--  ActionBar strings -->
    <!-- Describes the purpose of the tab button which which switches the activity to the Alarm page -->
    <string name="menu_alarm">Alarm</string>
+1 −2
Original line number Diff line number Diff line
@@ -215,8 +215,7 @@ public class DigitalAppWidgetProvider extends AppWidgetProvider {
    protected void refreshAlarm(Context context, RemoteViews widget) {
        final String nextAlarm = Utils.getNextAlarm(context);
        if (!TextUtils.isEmpty(nextAlarm)) {
            widget.setTextViewText(R.id.nextAlarm,
                    context.getString(R.string.control_set_alarm_with_existing, nextAlarm));
            widget.setTextViewText(R.id.nextAlarm, nextAlarm);
            widget.setViewVisibility(R.id.nextAlarm, View.VISIBLE);
            if (DigitalAppWidgetService.LOGGING) {
                Log.v(TAG, "DigitalWidget sets next alarm string to " + nextAlarm);
+1 −2
Original line number Diff line number Diff line
@@ -602,9 +602,8 @@ public class Utils {

        final String alarm = getNextAlarm(context);
        if (!TextUtils.isEmpty(alarm)) {
            final String text = context.getString(R.string.control_set_alarm_with_existing, alarm);
            final String description = context.getString(R.string.next_alarm_description, alarm);
            nextAlarmView.setText(text);
            nextAlarmView.setText(alarm);
            nextAlarmView.setContentDescription(description);
            nextAlarmView.setVisibility(View.VISIBLE);
        } else {