summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPavel Grafov <pgrafov@google.com>2018-08-15 15:45:31 +0100
committerPavel Grafov <pgrafov@google.com>2018-08-16 14:04:54 +0000
commit71a3d85bcbe978356e2146636f9e9928c70d1603 (patch)
tree553f149bfef4b72404a7ced3c1e7a4687017d9dd /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent0d75830053538103788952e437d6347f44d0b38b (diff)
Use DPM's counter for invalid password attempts
Currently Keyguard uses separate counter for invalid password attempts that is not persisted and is always initialized to zero after boot, so if the user made several attempts and rebooted the device, the device will show more allowed attempts before wipe than actually available. The counter is also incorrectly reset to zero when fingerprint is used successfully. With this CL the same counter is used for that message and for actual wipe triggering, it is persisted and is not reset upon reboot or fingerprint authehtication. Counting failed password attempts should be available in DevicePolicyManager even without PackageManager.FEATURE_DEVICE_ADMIN. Test: manual, tried using fingerprint and rebooting. Bug: 112588257 Merged-In: I1f4012a95c6f6758885206f69e7ebe2c3704a567 Change-Id: I1f4012a95c6f6758885206f69e7ebe2c3704a567
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions