Merge changes I96574a79,I74681222 into main
* changes: Fix the testcase failed Add the log for SidecarFragment
This commit is contained in:
committed by
Android (Google) Code Review
commit
71c6c3e557
@@ -78,6 +78,7 @@ public class MobileNetworkPreferenceControllerTest {
|
||||
mContext = spy(ApplicationProvider.getApplicationContext());
|
||||
when(mContext.getSystemService(Context.TELEPHONY_SERVICE)).thenReturn(mTelephonyManager);
|
||||
when(mContext.getSystemService(SubscriptionManager.class)).thenReturn(mSubscriptionManager);
|
||||
when(mSubscriptionManager.createForAllUserProfiles()).thenReturn(mSubscriptionManager);
|
||||
when(mContext.getSystemService(UserManager.class)).thenReturn(mUserManager);
|
||||
if (Looper.myLooper() == null) {
|
||||
Looper.prepare();
|
||||
|
||||
Reference in New Issue
Block a user