[Settings][Back port] configuration for hidding SIM remove UI
Hide SIM remove UI based on configuraion. Bug: 240515161 Test: test cases and local testing Change-Id: I866b2dd566ffa9953f2a83aa3dcb32440390898a
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