fix failed of PrimarySimRepositoryTest#getPrimarySimInfo_verifySmsList
- config_sms_ask_every_time_support was changed from true to false, so cause this test failed. Flag: EXEMPT bug fix Fix: b/382189034 Test: atest pass Change-Id: Ia7ae0812f2b417bd8350d09417547dfc474397a0
This commit is contained in:
@@ -101,6 +101,16 @@ class PrimarySimRepositoryTest {
|
||||
SUB_INFO_1,
|
||||
SUB_INFO_2
|
||||
)
|
||||
|
||||
context.stub {
|
||||
on { resources } doReturn spyResources
|
||||
}
|
||||
spyResources.stub {
|
||||
on {
|
||||
getBoolean(com.android.internal.R.bool.config_sms_ask_every_time_support)
|
||||
} doReturn true
|
||||
}
|
||||
|
||||
val expectedList = listOf(
|
||||
ListPreferenceOption(
|
||||
id = SUB_INFO_1.subscriptionId,
|
||||
|
Reference in New Issue
Block a user