diff options
author | Adrian Roos <roosa@google.com> | 2015-01-07 20:50:29 +0100 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2015-01-07 22:10:35 +0100 |
commit | 230635efe7ffb09d6dc56bfd9193aa1d89c8a898 (patch) | |
tree | 9bb960ef1ddb52ee7ef42c57898058323598bae3 /services/devicepolicy/java | |
parent | 382d6a9ed2360ceb462ea46a60f0f106fdb52540 (diff) | |
download | frameworks_base-230635efe7ffb09d6dc56bfd9193aa1d89c8a898.zip frameworks_base-230635efe7ffb09d6dc56bfd9193aa1d89c8a898.tar.gz frameworks_base-230635efe7ffb09d6dc56bfd9193aa1d89c8a898.tar.bz2 |
Purge biometric weak and keyguard widgets
Bug: 18931518
Change-Id: I5da41908b1d6895a69f981e139f2d268327fafcd
Diffstat (limited to 'services/devicepolicy/java')
-rw-r--r-- | services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java index 54454c7..54a9bc0 100644 --- a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +++ b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java @@ -2721,9 +2721,9 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { try { LockPatternUtils utils = new LockPatternUtils(mContext); if (!TextUtils.isEmpty(password)) { - utils.saveLockPassword(password, quality, false, userHandle); + utils.saveLockPassword(password, quality, userHandle); } else { - utils.clearLock(false, userHandle); + utils.clearLock(userHandle); } boolean requireEntry = (flags & DevicePolicyManager.RESET_PASSWORD_REQUIRE_ENTRY) != 0; if (requireEntry) { |