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

Commit 197267f9 authored by James Kung's avatar James Kung Committed by Android Git Automerger
Browse files

am 3f0521e9: Merge "Fix for interval strings beginning with the count" into ics-ub-calendar-denim

* commit '3f0521e9':
  Fix for interval strings beginning with the count
parents 16f62781 3f0521e9
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -1007,16 +1007,12 @@ public class RecurrencePickerDialog extends DialogFragment implements OnItemSele
        int markerStart = intervalString.indexOf(INTERVAL_COUNT_MARKER);

        if (markerStart != -1) {
            if (markerStart == 0) {
                mIntervalPreText.setText("");
            } else {
          int postTextStart = markerStart + INTERVAL_COUNT_MARKER.length();
          mIntervalPostText.setText(intervalString.substring(postTextStart,
                  intervalString.length()).trim());
          mIntervalPreText.setText(intervalString.substring(0, markerStart).trim());
        }
    }
    }

    /**
     * Update the "Repeat for N events" end option with the proper string values