summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard
Commit message (Collapse)AuthorAgeFilesLines
* am 3a464785: Add a private API to get notified about lockout resetsJorim Jaggi2015-09-011-0/+16
|\ | | | | | | | | * commit '3a464785088e7fd206666f640912729533948ce8': Add a private API to get notified about lockout resets
| * Add a private API to get notified about lockout resetsJorim Jaggi2015-09-011-0/+16
| | | | | | | | | | | | | | | | SystemUI uses it to start authentication again after lockout reset expired. Bug: 22846755 Change-Id: I90a987c6aa4ac52cc7e7aff1bce262d1db3f12ee
| * Import translations. DO NOT MERGEGeoff Mendal2015-08-291-1/+1
| | | | | | | | | | Change-Id: I770ccd06cea0e57fa92434a33e4e183d79010921 Auto-generated-cl: translation import
* | am 16d7245b: Merge "Prevent Fingerprint when SIM is locked" into mnc-dr-devAdrian Roos2015-08-271-2/+4
|\ \ | |/ | | | | | | * commit '16d7245b64062f4c65d55433642388d1dc9bdf70': Prevent Fingerprint when SIM is locked
| * Merge "Prevent Fingerprint when SIM is locked" into mnc-dr-devAdrian Roos2015-08-271-2/+4
| |\
| | * Prevent Fingerprint when SIM is lockedAdrian Roos2015-08-261-2/+4
| | | | | | | | | | | | | | | Bug: 23214670 Change-Id: I8192ded696c1908871b2578194e2a226bb51b1e9
* | | am dfb8cca0: Merge "Don\'t check the keyguard PIN a second time" into mnc-dr-devJim Miller2015-08-272-0/+10
|\ \ \ | |/ / | | | | | | | | | * commit 'dfb8cca04dd64dcdf1df4550f7e808360de0517d': Don't check the keyguard PIN a second time
| * | Don't check the keyguard PIN a second timeJim Miller2015-08-262-0/+10
| |/ | | | | | | | | | | | | | | | | | | | | If you tap the enter key twice on the keyguard PIN entry screen, the second tap can sometimes register because keyguard hasn't been dismissed yet. The fix is to ignore a second attempt after the PIN has already been verified. Fixes bug 19216025 Change-Id: I73a004e91e43f3da65ec84f90de6943e717d737f
* | am 2c632c88: Merge "Invoke strong auth callback and default strong auth ↵Adrian Roos2015-08-222-10/+10
|\ \ | |/ | | | | | | | | | | expired to true" into mnc-dr-dev * commit '2c632c8831349d2c951c9addae05f080958f0604': Invoke strong auth callback and default strong auth expired to true
| * Invoke strong auth callback and default strong auth expired to trueAdrian Roos2015-08-212-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split off from I0af11da1b7cd7c8d837bc5ba3a62ef2ffca74b1b. The initial value did not matter previously because a SystemUI crash triggered the boot logic and forced a manual entry before fingerprint works. Long term the timeout logic should be moved to StrongAuthTracker so it can be shared with the trust agent implementation (currently implemented by the trust agents themeselfes) Bug: 22846469 Bug: 22115393 Change-Id: I0af11da1b7cd7c8d837bc5ba3a62ef2ffca74b1b
* | am b5e47228: Add StrongAuthTrackerAdrian Roos2015-08-221-4/+28
|\ \ | |/ | | | | | | * commit 'b5e4722891e7bbf2fffcd995af02838667a3abab': Add StrongAuthTracker
| * Add StrongAuthTrackerAdrian Roos2015-08-211-4/+28
| | | | | | | | | | | | Bug: 22846469 Bug: 22115393 Change-Id: I6ef5322d02e540fc043e7f20d3aabf595ce7c224
* | am 86bed406: Fix fingerprint listening state race conditionsJorim Jaggi2015-08-221-35/+68
|\ \ | |/ | | | | | | * commit '86bed40605e407459496ee2bfdf6b8af1ae1a581': Fix fingerprint listening state race conditions
| * Fix fingerprint listening state race conditionsJorim Jaggi2015-08-211-35/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When calling cancel() on the cancellation signal, it doesn't happen immediately. Now, because of a state messup during boot, we go through the sequence startListeningForFingerprint stopListeningForFingerprint startListeningForFingerprint However, the cancellation callback from stopListeningForFingeprint happened AFTER the second startListeningForFingerprint, so we assumed that fingerprint detection was not running anymore but in reality it was - leading to weird states and all kinds of small state messups. Introduce a state machine to track when we we called cancel but waiting for the confirmation of FingerprintService in order to track this properly. Bug: 23380500 Change-Id: I403479fb749cf7c22b73611b69698e8b771777d0
* | am 1fa7384a: Merge changes Ie8264c4d,Ic83ac0f1 into mnc-dr-devJorim Jaggi2015-08-201-2/+18
|\ \ | |/ | | | | | | | | * commit '1fa7384a101450c4619ed43e176d5a54aa0a54f3': Fix jank in wake-and-unlock while pulsing Don't call authenticate immediately after getting valid fingerprint
| * Merge changes Ie8264c4d,Ic83ac0f1 into mnc-dr-devJorim Jaggi2015-08-201-2/+18
| |\ | | | | | | | | | | | | | | | * changes: Fix jank in wake-and-unlock while pulsing Don't call authenticate immediately after getting valid fingerprint
| | * Don't call authenticate immediately after getting valid fingerprintJorim Jaggi2015-08-191-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After gettin a callback onAuthenticationSucceded we set the fingerprint listening state to false. However, when waking up, we immediately started listening again because the state was false. Protect against that by only calling authenticate only once, except when the unlock doesn't go through because unlocking with fingerprint is not allowed. Also fixes some animation "jank" because of the state messup. Bug: 23304421 Change-Id: Ic83ac0f1590dd4f8017bb55dca9e19a60cfdf99f
| * | Import translations. DO NOT MERGEGeoff Mendal2015-08-193-9/+9
| |/ | | | | | | | | Change-Id: Ifd3cfe65e9a82e21d6a1611368dcbe9d6dfee829 Auto-generated-cl: translation import
* | am 0835f33a: Merge "Improve motion for wake-and-unlocking while pulsing" ↵Jorim Jaggi2015-08-192-111/+19
|\ \ | |/ | | | | | | | | | | into mnc-dr-dev * commit '0835f33a4de14d62c433b36d1b08daff9166e9b3': Improve motion for wake-and-unlocking while pulsing
| * Merge "Improve motion for wake-and-unlocking while pulsing" into mnc-dr-devJorim Jaggi2015-08-192-111/+19
| |\
| | * Improve motion for wake-and-unlocking while pulsingJorim Jaggi2015-08-182-111/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move all fingerprint related to logic in on central class in SystemUI that knows all the state of the UI so there is exactly ONE place in which we decide what to do when we acquire a fingerprint. - When pulsing and we get a valid finger, we fade the contents of the Keyguard out and fade the scrim out almost the same way as we would do in a normal wake-and-unlock sequence. - Hide shadows while dozing, so we don't see the artifacts when we fade the dozed Keyguard out. Bug: 23225107 Change-Id: I82f78e61f2530cf7d507ade80f6f0a340c082567
* | | am 394686ef: Merge "Fix race condition for doze mode and wake-and-unlocking" ↵Jorim Jaggi2015-08-192-0/+40
|\ \ \ | |/ / | | | | | | | | | | | | | | | into mnc-dr-dev * commit '394686efbb51e7c05e230c4ad3695fadc3aa85a0': Fix race condition for doze mode and wake-and-unlocking
| * | Merge "Fix race condition for doze mode and wake-and-unlocking" into mnc-dr-devJorim Jaggi2015-08-192-0/+40
| |\ \ | | |/
| | * Fix race condition for doze mode and wake-and-unlockingJorim Jaggi2015-08-172-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When pulse was about to turn on and at the same time we were starting a wake-and-unlock sequence, there was jank because the scrim handling was not correct anymore. Now, abort the pulse when we are wake-and- unlocking so we don't see flickering with the scrims anymore. Bug: 23217476 Change-Id: I331f513b68fb1832b4372d3e2e518b31b556a43c
* | | am ee2cfe48: Only call authenticate when we are not listening yetJorim Jaggi2015-08-191-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit 'ee2cfe48d4fb36906c59c2ae545808dba01f90d8': Only call authenticate when we are not listening yet
| * | Only call authenticate when we are not listening yetJorim Jaggi2015-08-191-1/+1
| | | | | | | | | | | | | | | Bug: 23304421 Change-Id: I5c589ba8992039ca995138d7d74abd123b911a5c
* | | am bea9d7b9: Merge "Reset fingerprint lockout timer when strong auth is ↵Jim Miller2015-08-181-0/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | used." into mnc-dr-dev * commit 'bea9d7b94cfa16da8f257ed705e218b017d459a7': Reset fingerprint lockout timer when strong auth is used.
| * | Merge "Reset fingerprint lockout timer when strong auth is used." into ↵Jim Miller2015-08-181-0/+4
| |\ \ | | | | | | | | | | | | mnc-dr-dev
| | * | Reset fingerprint lockout timer when strong auth is used.Jim Miller2015-08-181-0/+4
| | |/ | | | | | | | | | | | | | | | Fixes bug 22565462 Change-Id: I4842877839845e7fe103396d8ca8104928568c04
* | | am 33a5c807: resolved conflicts for merge of 448216e7 to mnc-dr-devJim Miller2015-08-181-3/+0
|\ \ \ | |/ / | | | | | | | | | * commit '33a5c80773b7b2913c92fec170787499a453d184': Revert "Disable fingerprint when remotely reset by DPM"
| * | resolved conflicts for merge of 448216e7 to mnc-dr-devJim Miller2015-08-181-3/+0
| |\ \ | | |/ | |/| | | | Change-Id: Ic83b34ab6114e2ffe6e08961eaea07110efc5cc5
| | * Revert "Disable fingerprint when remotely reset by DPM"Jim Miller2015-08-171-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8ae1be120806d0189f65a492004a7b5416aa6c6f. Fixes bug 23187090 Change-Id: Idd9798895b08618f7d272b818818a45d3c9dc7d2
| * | Import translations. DO NOT MERGEGeoff Mendal2015-08-1778-0/+234
| | | | | | | | | | | | | | | Change-Id: Iaffcfead62c6ca52dafd9e5776c65272851076cf Auto-generated-cl: translation import
* | | am 69082a29: Merge "Require strong authentication after a timeout" into ↵Jorim Jaggi2015-08-1310-47/+132
|\ \ \ | |/ / | | | | | | | | | | | | | | | mnc-dr-dev * commit '69082a298f50680128ada89a8bef777f0fadf829': Require strong authentication after a timeout
| * | Require strong authentication after a timeoutJorim Jaggi2015-08-1210-47/+132
| | | | | | | | | | | | | | | Bug: 21594472 Change-Id: Iab169d4fa2e4ad134f8c8579654b28e96b5b1385
* | | am c40d6799: Merge "Indicating fingerprint error messages on the bouncer ↵Selim Cinek2015-08-128-9/+61
|\ \ \ | |/ / | | | | | | | | | | | | | | | now" into mnc-dr-dev * commit 'c40d6799df6b3dc1c61aa05d2e356096521b7099': Indicating fingerprint error messages on the bouncer now
| * | Indicating fingerprint error messages on the bouncer nowSelim Cinek2015-08-118-9/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also ensure that error messages are surfaced when the screen comes on such that the user knows why his fingerprint is not working. Bug: 22035466 Bug: 22524101 Change-Id: I00b0e833cdb8a3475545ba75b8cb7bf7a419dfd4
* | | am 959431bc: Wake device when Keyguard invisible and getting fingerprintJorim Jaggi2015-08-111-7/+12
|\ \ \ | |/ / | | | | | | | | | * commit '959431bcca9fc7b3491b1501957b1f4b45efee65': Wake device when Keyguard invisible and getting fingerprint
| * | Wake device when Keyguard invisible and getting fingerprintJorim Jaggi2015-08-111-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixes a bug where we didn't listen for fingerprint after rebooting the device. Bug: 22644634 Bug: 23046263 Change-Id: Ide85a01d9d4cfcc880fbc29ca4f3cc6eef47da2d
| * | Import translations. DO NOT MERGEGeoff Mendal2015-08-081-6/+6
| | | | | | | | | | | | | | | Change-Id: I8efa511283a9b372c6386dd3a3396abee1d10780 Auto-generated-cl: translation import
* | | am 6fdb85d3: am 120fc2c7: Merge "Disable fingerprint when remotely reset by ↵Jim Miller2015-08-061-1/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | DPM" into mnc-dev * commit '6fdb85d383007e7d68895195d6347840276abeab': Disable fingerprint when remotely reset by DPM
| * | am 120fc2c7: Merge "Disable fingerprint when remotely reset by DPM" into mnc-devJim Miller2015-08-061-1/+6
| |\ \ | | |/ | | | | | | | | | * commit '120fc2c74eb290e06cddf1b52d363338f940c612': Disable fingerprint when remotely reset by DPM
| | * Disable fingerprint when remotely reset by DPMJim Miller2015-08-051-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the device is lost or stolen, it's safer to fall back to strong authentication (pin, pattern or password). This disables fingerprint like we do with trust agents. Fixes bug 21620081 Change-Id: I7bbe54be3721b2f160b783daeb3acbe434705046
* | | am 3f9b9f2b: am 45fcaa54: Merge "Don\'t wipe device because of short PIN, ↵Jim Miller2015-08-032-25/+42
|\ \ \ | |/ / | | | | | | | | | | | | | | | patterns or passwords" into mnc-dev * commit '3f9b9f2bbe81e25cfc2754e19a129895f8ad1011': Don't wipe device because of short PIN, patterns or passwords
| * | am 45fcaa54: Merge "Don\'t wipe device because of short PIN, patterns or ↵Jim Miller2015-08-032-25/+42
| |\ \ | | |/ | | | | | | | | | | | | | | | passwords" into mnc-dev * commit '45fcaa547dc5b9eb2c20879b290415daa1446004': Don't wipe device because of short PIN, patterns or passwords
| | * Don't wipe device because of short PIN, patterns or passwordsJim Miller2015-08-032-25/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug where we were counting short PIN, patterns and passwords as attempts. For devices with a device policy admin, this would cause devices to get wiped after a short amount of interaction with the UI. Fixes bug 22844609 Change-Id: I7616b38d954f89d4a2cee23f9aec1b898041b1f2
| * | Import translations. DO NOT MERGEGeoff Mendal2015-07-311-1/+1
| | | | | | | | | | | | | | | Change-Id: I067b513b8b2344bd2f8ee9960ddcc5000e7173c3 Auto-generated-cl: translation import
* | | am f1518da4: Fix fingerprint icon screen on animationJorim Jaggi2015-08-012-0/+40
|\ \ \ | |/ / | | | | | | | | | * commit 'f1518da4512dcf350fd808a5288634f534bca1bb': Fix fingerprint icon screen on animation
| * | Fix fingerprint icon screen on animationJorim Jaggi2015-07-312-0/+40
| | | | | | | | | | | | | | | Bug: 22807015 Change-Id: I4685085007d87f1b1e1db380d0f899efc4e56240
* | | am be869b66: am 30c5da9c: Don\'t call cancel() when fingerprint auth failsJim Miller2015-07-301-2/+0
|\ \ \ | |/ / | | | | | | | | | * commit 'be869b667142d3dc8723f19951b4d6ba2c055b24': Don't call cancel() when fingerprint auth fails