Merge "Fix two-panel issue in tablet" into main

This commit is contained in:
Haijie Hong
2024-09-25 07:36:43 +00:00
committed by Android (Google) Code Review
5 changed files with 24 additions and 15 deletions

View File

@@ -178,11 +178,9 @@ class DeviceDetailsFragmentFormatterTest {
}.launchIn(testScope.backgroundScope)
delay(100)
runCurrent()
helpPreference!!.onClick()
ShadowLooper.idleMainLooper()
val shadowActivity = Shadows.shadowOf(fragmentActivity)
assertThat(shadowActivity.nextStartedActivity).isSameInstanceAs(intent)
assertThat(helpPreference?.intent).isSameInstanceAs(intent)
}
}