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

Commit 64106e43 authored by Neil Fuller's avatar Neil Fuller Committed by android-build-merger
Browse files

Merge "Avoid hidden DataFormat.is24Hour field access"

am: 4d9823f3

Change-Id: If06ff869b5363867287cb37c86b1bf558bfa55db
parents 16e33999 4d9823f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ public class DateUtilsTest {
    @Test
    public void testFormatSameDayTime() {
        // This test assumes a default DateFormat.is24Hour setting.
        DateFormat.is24Hour = null;
        DateFormat.set24HourTimePref(null);
        Date date = new Date(109, 0, 19, 3, 30, 15);
        long fixedTime = date.getTime();