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

Commit a741163d authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by Android Git Automerger
Browse files

am 4567ec02: am ca429e08: am 9568ad39: am 94e5ada7: am 81f74f4b: Fix...

am 4567ec02: am ca429e08: am 9568ad39: am 94e5ada7: am 81f74f4b: Fix DatePicker and Calendar widget in layoutlib.

* commit '4567ec02':
  Fix DatePicker and Calendar widget in layoutlib.
parents e636469f 4567ec02
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -181,12 +181,18 @@ public class ICU_Delegate {
        result.longStandAloneMonthNames = result.longMonthNames;
        result.shortStandAloneMonthNames = result.shortMonthNames;

        // The platform code expects this to begin at index 1, rather than 0. It maps it directly to
        // the constants from java.util.Calendar.<weekday>
        result.longWeekdayNames = new String[] {
                "Monday" ,"Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" };
                "", "Sunday", "Monday" ,"Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" };
        result.shortWeekdayNames = new String[] {
                "Mon" ,"Tue", "Wed", "Thu", "Fri", "Sat", "Sun" };
                "", "Sun", "Mon" ,"Tue", "Wed", "Thu", "Fri", "Sat" };
        result.tinyWeekdayNames = new String[] {
                "", "S", "M", "T", "W", "T", "F", "S" };

        result.longStandAloneWeekdayNames = result.longWeekdayNames;
        result.shortStandAloneWeekdayNames = result.shortWeekdayNames;
        result.tinyStandAloneWeekdayNames = result.tinyWeekdayNames;

        result.fullTimeFormat = "";
        result.longTimeFormat = "";