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

Commit 16aa76ca authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 12910931 from 9e4ab516 to 25Q2-release

Change-Id: I282db7c8ba4f43d4a43ac2b499d505212413e0ff
parents 900ee49e 9e4ab516
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -100,3 +100,11 @@ flag {
    description: "Include optional app-provided context URL when sharing a screenshot."
    bug: "242791070"
}


flag {
  name: "status_bar_connected_displays"
  namespace: "lse_desktop_experience"
  description: "Shows the status bar on connected displays"
  bug: "379264862"
}
+9 −3
Original line number Diff line number Diff line
@@ -434,6 +434,8 @@ class MotionValueTest {
            assertThat(framesCount).isEqualTo(it + 1)
        }

        val timeBeforeAutoAdvance = rule.mainClock.currentTime

        // But this will stop as soon as the animation is finished. Skip forward.
        rule.mainClock.autoAdvance = true
        rule.awaitIdle()
@@ -442,9 +444,13 @@ class MotionValueTest {
        assertThat(inspector.frame.isStable).isTrue()
        // ... and animations are suspended again.
        assertThat(inspector.isAnimating).isFalse()
        // Without too many assumptions about how long it took to settle the spring, should be
        // more than  160ms
        assertThat(framesCount).isGreaterThan(10)

        rule.awaitIdle()

        // Stabilizing the spring during awaitIdle() took 176ms (obtained from looking at reference
        // test runs). That time is expected to be 100% reproducible, given the starting
        // state/configuration of the spring before awaitIdle().
        assertThat(rule.mainClock.currentTime).isEqualTo(timeBeforeAutoAdvance + 176)
    }

    @Test