Merge "Fix issue with unlock attempts for the Work Challenge" into nyc-dev

am: 04af275b6e

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

View File

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