The list does not follow the UX dialog design doc in alert dialog.
Please refer the comment#1 at bug and there are change below - the divider is 4dp - the item's radius is different in the list. Bug: 216233391 Test: manual test: check the UI make RunSettingsRoboTests ROBOTEST_FILTER=SimListDialogFragmentTest (PASS) Change-Id: I758d60202fcf477aeb49014e60b949e7ad08c082
This commit is contained in:
@@ -77,7 +77,7 @@ public class SimListDialogFragmentTest extends SimDialogFragmentTestBase<SimList
|
||||
doReturn(activity).when(mFragment).getActivity();
|
||||
doNothing().when(activity).onSubscriptionSelected(anyInt(), anyInt());
|
||||
|
||||
mFragment.onClick(alertDialog, 1);
|
||||
mFragment.onClick(1);
|
||||
verify(activity).onSubscriptionSelected(dialogType, SIM2_ID);
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ public class SimListDialogFragmentTest extends SimDialogFragmentTestBase<SimList
|
||||
doReturn(activity).when(mFragment).getActivity();
|
||||
doNothing().when(activity).onSubscriptionSelected(anyInt(), anyInt());
|
||||
|
||||
mFragment.onClick(alertDialog, 0);
|
||||
mFragment.onClick(0);
|
||||
verify(activity).onSubscriptionSelected(dialogType,
|
||||
SubscriptionManager.INVALID_SUBSCRIPTION_ID);
|
||||
}
|
||||
|
Reference in New Issue
Block a user