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

Commit e015b71c authored by Lee Shombert's avatar Lee Shombert Committed by Android (Google) Code Review
Browse files

Merge "Correct an ApplicationSharedMemory unit test" into main

parents 11fef3f6 aa381d3b
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -61,8 +61,13 @@ public class ApplicationSharedMemoryTest {
    @Test
    public void canRead() {
        ApplicationSharedMemory instance = ApplicationSharedMemory.getInstance();
        try {
            instance.getLatestNetworkTimeUnixEpochMillisAtZeroElapsedRealtimeMillis();
            // Don't actually care about the value of the above.
        } catch (java.time.DateTimeException e) {
            // This exception is okay during testing.  It means there was no time source, which
            // could be because of network problems or a feature being flagged off.
        }
    }

    /** Application processes should not have mutable access. */