Replace usage of deprecated initAllFlagsToReleaseConfigDefault() method
Bug: 306088813 Flag: NA Test: Presubmits passing Change-Id: Iff852702424f4e18c67a6bd3b110beb528b39e3b
This commit is contained in:
1 parent
24e738e872
commit
4fc9a1001f
2 files changed
+5
-9
No files matched your search
@@ -63,7 +63,8 @@ import org.mockito.MockitoAnnotations;
|
||||
*/
|
||||
public class BubbleTextViewTest {
|
||||
|
||||
@Rule public final SetFlagsRule mSetFlagsRule = new SetFlagsRule();
|
||||
@Rule public final SetFlagsRule mSetFlagsRule =
|
||||
new SetFlagsRule(SetFlagsRule.DefaultInitValueType.DEVICE_DEFAULT);
|
||||
private static final StringMatcherUtility.StringMatcher
|
||||
MATCHER = StringMatcherUtility.StringMatcher.getInstance();
|
||||
private static final UserHandle WORK_HANDLE = new UserHandle(13);
|
||||
@@ -99,7 +100,6 @@ public class BubbleTextViewTest {
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
MockitoAnnotations.initMocks(this);
|
||||
mSetFlagsRule.initAllFlagsToReleaseConfigDefault();
|
||||
Utilities.enableRunningInTestHarnessForTests();
|
||||
mContext = new ActivityContextWrapper(getApplicationContext());
|
||||
mBubbleTextView = new BubbleTextView(mContext);
|
||||
|
||||
Reference in new issue
Block a user