Merge "Don't offer "None" lock type for work profiles."
This commit is contained in:
committed by
Android (Google) Code Review
commit
594efe5bf7
@@ -88,10 +88,12 @@ public class ChooseLockGenericControllerTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void isScreenLockVisible_notCurrentUser_shouldHideSwipe() {
|
||||
public void isScreenLockVisible_notCurrentUser_shouldHideInsecure() {
|
||||
mController = new ChooseLockGenericController(application, 1 /* userId */);
|
||||
assertThat(mController.isScreenLockVisible(ScreenLockType.SWIPE)).named("SWIPE visible")
|
||||
.isFalse();
|
||||
assertThat(mController.isScreenLockVisible(ScreenLockType.NONE)).named("NONE visible")
|
||||
.isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user