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

Commit ba394bec authored by Chaohui Wang's avatar Chaohui Wang Committed by Automerger Merge Worker
Browse files

Merge "Fix SetupChooseLockPasswordTest" into tm-dev am: 8ba7ed64

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17347883

Change-Id: I49044c2b8fd210d20ed6437f9e1cad0e081644fd
parents e8334d9b 8ba7ed64
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -46,7 +46,6 @@ import com.google.android.setupcompat.template.FooterBarMixin;

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
@@ -106,7 +105,6 @@ public class SetupChooseLockPasswordTest {

    @Test
    @Config(shadows = ShadowChooseLockGenericController.class)
    @Ignore
    public void createActivity_withShowOptionsButtonExtra_buttonNotVisibleIfNoVisibleLockTypes() {
        SetupChooseLockPassword activity = createSetupChooseLockPassword();
        Button optionsButton = activity.findViewById(R.id.screen_lock_options);
@@ -206,7 +204,7 @@ public class SetupChooseLockPasswordTest {
    @Implements(ChooseLockGenericController.class)
    public static class ShadowChooseLockGenericController {
        @Implementation
        protected List<ScreenLockType> getVisibleScreenLockTypes() {
        protected List<ScreenLockType> getVisibleAndEnabledScreenLockTypes() {
            return Collections.emptyList();
        }
    }