Fix FaceSetupSliceTest am: acde97cf90

am: a9c14ab4b1

Change-Id: Ic96ff261766e750e0fff6b3ff73e21d0588b0222
This commit is contained in:
Kevin Chyn
2019-09-28 01:20:03 -07:00
committed by android-build-merger

View File

@@ -108,10 +108,10 @@ public class FaceSetupSliceTest {
when(faceManager.hasEnrolledTemplates(UserHandle.myUserId())).thenReturn(true);
when(mContext.getSystemService(Context.FACE_SERVICE)).thenReturn(faceManager);
Settings.Secure.putInt(mContext.getContentResolver(),
Settings.Secure.FACE_UNLOCK_MUST_RE_ENROLL,
1);
Settings.Secure.FACE_UNLOCK_RE_ENROLL,
3);
final FaceSetupSlice setupSlice = new FaceSetupSlice(mContext);
assertThat(setupSlice.getSlice()).isNotNull();
}
}
}