[Settings] configuration for hidding SIM remove UI
Hide SIM remove UI based on configuraion. Bug: 240515161 Test: test cases and local testing Change-Id: Iea40b89733cc75a41f960fecb2ac24177a4cbd3d
This commit is contained in:
@@ -102,7 +102,10 @@ public class MainClearTest {
|
||||
@Before
|
||||
public void setUp() {
|
||||
MockitoAnnotations.initMocks(this);
|
||||
mMainClear = spy(new MainClear());
|
||||
mMainClear = spy(new MainClear() {
|
||||
@Override
|
||||
boolean showAnySubscriptionInfo(Context context) { return true; }
|
||||
});
|
||||
mActivity = Robolectric.setupActivity(FragmentActivity.class);
|
||||
mShadowActivity = Shadows.shadowOf(mActivity);
|
||||
UserManager userManager = mActivity.getSystemService(UserManager.class);
|
||||
|
Reference in New Issue
Block a user