Merge "Fix issue with unlock attempts for the Work Challenge" into nyc-dev am: 04af275b6e

am: 715daa78a6

* commit '715daa78a6f56f8dd4f860a72ebc45bd3693c9eb':
  Fix issue with unlock attempts for the Work Challenge
This commit is contained in:
Clara Bayarri
2016-03-05 02:09:57 +00:00
committed by android-build-merger

View File

@@ -223,7 +223,7 @@ public abstract class ConfirmDeviceCredentialBaseFragment extends InstrumentedFr
}
protected boolean isProfileChallenge() {
return Utils.isManagedProfile(UserManager.get(getContext()));
return Utils.isManagedProfile(UserManager.get(getContext()), mEffectiveUserId);
}
protected void reportSuccessfullAttempt() {