Merge "Update Settings to match Framework"

This commit is contained in:
TreeHugger Robot
2018-08-31 01:21:07 +00:00
committed by Android (Google) Code Review
5 changed files with 8 additions and 8 deletions

View File

@@ -121,7 +121,7 @@ public class FaceStatusPreferenceControllerTest {
when(mFaceManager.isHardwareDetected()).thenReturn(true);
when(mFaceManager.getEnrolledFaces(anyInt()))
.thenReturn(Collections.singletonList(mock(Face.class)));
when(mFaceManager.hasEnrolledFaces(anyInt()))
when(mFaceManager.hasEnrolledTemplates(anyInt()))
.thenReturn(true);
mController.updateState(mPreference);