Fix issue with unlock attempts for the Work Challenge
The failed attempts to unlock were not being reported due to a small bug. Bug: 26677759 Change-Id: Ie03593ba38ba118e1c030135037e15400e7af8a2
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user