Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f746066 authored by Zhi Dou's avatar Zhi Dou Committed by Android (Google) Code Review
Browse files

Merge "Explicitly set SetFlagsRule with NULL_DEFAULT" into main

parents ea9ea024 9e1a2d7e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -45,7 +45,8 @@ public class BuildTest {
    public final RavenwoodRule mRavenwood = new RavenwoodRule();

    @Rule
    public final SetFlagsRule mSetFlagsRule = new SetFlagsRule();
    public final SetFlagsRule mSetFlagsRule = new SetFlagsRule(
                SetFlagsRule.DefaultInitValueType.NULL_DEFAULT);

    /**
     * Asserts that a String is non-null and non-empty.  If it is not,
+2 −1
Original line number Diff line number Diff line
@@ -118,7 +118,8 @@ import java.util.function.Supplier;
@Presubmit
public class GameManagerServiceTests {
    @Mock MockContext mMockContext;
    @Rule public final SetFlagsRule mSetFlagsRule = new SetFlagsRule();
    @Rule public final SetFlagsRule mSetFlagsRule = new SetFlagsRule(
                SetFlagsRule.DefaultInitValueType.NULL_DEFAULT);
    private static final String TAG = "GameManagerServiceTests";
    private static final String PACKAGE_NAME_INVALID = "com.android.app";
    private static final int USER_ID_1 = 1001;