Fix two-panel issue in tablet
Keep the logic same as BlockingPrefWithSliceController. BUG: 343317785 Test: atest BluetoothDeviceDetailsViewModelTest Flag: com.android.settings.flags.enable_bluetooth_device_details_polish Change-Id: I77e62479def433869ae5e93987ec7069cc61173a
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user