Merge "Revert "Don't use framework strings for formatting file sizes""
This commit is contained in:
@@ -92,6 +92,8 @@ public class StorageItemPreferenceControllerTest {
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
MockitoAnnotations.initMocks(this);
|
||||
SettingsShadowResources.overrideResource("android:string/fileSizeSuffix", "%1$s %2$s");
|
||||
SettingsShadowResources.overrideResource("android:string/gigabyteShort", "GB");
|
||||
when(mFragment.getActivity()).thenReturn(mActivity);
|
||||
when(mFragment.getFragmentManager()).thenReturn(mFragmentManager);
|
||||
when(mFragmentManager.beginTransaction()).thenReturn(mFragmentTransaction);
|
||||
|
Reference in New Issue
Block a user