summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/src
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | 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
| * | | 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
| * | | Only call authenticate when we are not listening yetJorim Jaggi2015-08-191-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 23304421 Change-Id: I5c589ba8992039ca995138d7d74abd123b911a5c
| * | | 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
| * | | resolved conflicts for merge of 448216e7 to mnc-dr-devJim Miller2015-08-181-3/+0
| |\ \ \ | | |/ / | |/| | | | | | Change-Id: Ic83b34ab6114e2ffe6e08961eaea07110efc5cc5
| * | | Require strong authentication after a timeoutJorim Jaggi2015-08-129-47/+123
| | | | | | | | | | | | | | | | | | | | Bug: 21594472 Change-Id: Iab169d4fa2e4ad134f8c8579654b28e96b5b1385
| * | | 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
| * | | 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
| * | | 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
| * \ \ \ 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
| * | | | | Fix fingerprint icon screen on animationJorim Jaggi2015-07-312-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22807015 Change-Id: I4685085007d87f1b1e1db380d0f899efc4e56240
| * | | | | am 30c5da9c: Don\'t call cancel() when fingerprint auth failsJim Miller2015-07-301-2/+0
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '30c5da9cc20cc4b9ce820963c6f58d7826f46eaa': Don't call cancel() when fingerprint auth fails
| * \ \ \ \ \ am 0d210f63: Animation for touch, wake and unlockJorim Jaggi2015-07-285-38/+69
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0d210f6395072db4a4c53d4cb8fac4a59a3965b4': Animation for touch, wake and unlock
| * \ \ \ \ \ \ am 9e49b5d6: Merge "Move PIN/Pattern appear animation to RenderThread (1/2)" ↵Jorim Jaggi2015-07-272-48/+20
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mnc-dev * commit '9e49b5d679672ea4a64382f9a36663c73603961b': Move PIN/Pattern appear animation to RenderThread (1/2)
| * \ \ \ \ \ \ \ am f8acd1d8: Merge "Adapted the behavior when unlocking with fingerprint is ↵Selim Cinek2015-07-251-4/+29
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not allowed" into mnc-dev * commit 'f8acd1d8d698f367bc267699a0a84c21f7c7d548': Adapted the behavior when unlocking with fingerprint is not allowed
| * | | | | | | | | Send BATTERY_CHANGED if maxChargingCurrent changesAdrian Roos2015-07-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a bug where the charging current on Keyguard was stale on devices that don't immediately set the charging current. Follow-up to I2e5c21dd7ec028ce47fb03ab71e74f7fccaa9e36 Bug: 8099739 Change-Id: I4b5b3b1231b1372310206941386dba743d5f88f4
| * | | | | | | | | am 60e15dae: Merge "Fixed a bug where a fingerprint animation was not ↵Selim Cinek2015-07-172-3/+7
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | running" into mnc-dev * commit '60e15dae5aac3ea7529c13981ad339a8312e2fb2': Fixed a bug where a fingerprint animation was not running
| * | | | | | | | | | Touch, wake and unlockJorim Jaggi2015-07-143-25/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add onFingerprintAcquired, so Keyguard can grab a wakelock to prevent the device from sleeping. - If we get a successful fingerprint, wake the device up, immediately dismiss the keyguard and tell PWM that we kicked off our frame that will represent the correct state. - PWM then waits for this frame to be drawn, and then turns on the screen, which results in unlocking directly to the previsouly opened app. Bug: 21855614 Change-Id: I0c43bcc9d334b509632704fb0c123ab3351edff2
| * | | | | | | | | | Merge "Show charging speed on Keyguard" into mnc-dr-devAdrian Roos2015-07-141-3/+19
| |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | Show charging speed on KeyguardAdrian Roos2015-07-141-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8099739 Change-Id: I2e5c21dd7ec028ce47fb03ab71e74f7fccaa9e36
* | | | | | | | | | | | Merge branch 'LA.BF64.1.2.2_rb4.6' of ↵Steve Kondik2015-11-042-2/+53
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://codeaurora.org/platform/frameworks/base into cm-13.0 Change-Id: I261957864b149edb709e6f76ed382043f9a96936
| * | | | | | | | | | | Merge "Update carrier text when sim state changes"Linux Build Service Account2015-10-241-0/+49
| |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | Update carrier text when sim state changesWileen Chiu2015-10-231-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - CarrierText is not registered for the onSimStateChanged callback, so it is never updated with the CARD_IO_ERROR state. - "Invalid card" is not shown on the UI when an erroneous card is inserted - Implement the callback to trigger showing "Invalid card" on the UI for CARD_IO_ERROR Change-Id: Ibaacf06f2aad8f206095783cc431a87485f1c2ad CRs-Fixed: 882387
| * | | | | | | | | | | | Emergency call button on Swipe lock Screen.Ruthwar Kumar Ambeer2015-10-231-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Emergency Call button is added on Swipe lock screen. CRs-Fixed: 913911 Change-Id: I182f48627f8e53283d1afede8c43ea84e1bd8291
* | | | | | | | | | | | | Keyguard: Fix scramblepin logic.Adnan Begovic2015-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I71e6d26e853fa7bfaeea4b3256902881ac7f74fc
* | | | | | | | | | | | | Keyguard: Don't disable visibility when scrambling pin.Adnan Begovic2015-10-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise the first numbers text is flipped to invisible even though it shouldn't be. Change-Id: Ia2b80d594e7f11af7a60a85bdb4ea9909d0ac20b
* | | | | | | | | | | | | Keyguard: Add option to scramble pin layout when unlocking (2/2).Adnan2015-10-262-12/+56
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ibe8611eb0b8a5bd9275bc96682d2cbafaa37d8f5 Add global scramble pin layout setting. Change-Id: I87e6baf041644cdde55fef34f4032c6950ac428f Keyguard: Fix bad merge from 12.0 on pin scramble. Change-Id: Ia9ee6bd43c45228ec7042ef8300ff9ca6f92f60f
* | | | | | | | | | | | Show remaining retry attempts for SIM lock upon Bootup.Ruthwar Kumar Ambeer2015-10-141-31/+78
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add functionality to show remaining retry attempts upon bootup before entering any wrong PIN. CRs-Fixed: 912687 Change-Id: I9f28b43a2e6e34be550a6e58b6c6471186d6c362
* | | | | | | | | | | Keyguard: Fix to display PUK remaining attempts.Umashankar Godachi2015-10-061-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently in the base AOSP code, upon entering wrong PUK code, default message is shown instead of remaining retry attempts. Fix: Add a flag to control the display of default message If user enters wrong PUK code show the remaining retry attempts by setting show default message flag to false. Change-Id: Iec39036e851fe5927b7379a0050d91533eee642c
* | | | | | | | | | | Telephony: SIM De-personalizationBeena More2015-10-062-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Support for all ME De-Personalizations as per specs 3GPP2 C.S0068-0 and 3GPP TS 22.022 2. Changes for Perso locked display messages Change-Id: I20585dac214309c62efd78fb611d27b3bb7996ce
* | | | | | | | | | | Add change to show Invalid card when erroneous card is insertedSridhar Dubbaka2015-10-062-1/+11
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add change to show "Invalid card" on UI on CARD_IO_ERROR when erroneous SIM card is inserted Change-Id: I94c52ff462c999cdb8dbe742fa0bd3f1019ce335
* | | | | | | | | | Revert "Disable fingerprint when remotely reset by DPM"Jim Miller2015-08-171-6/+1
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8ae1be120806d0189f65a492004a7b5416aa6c6f. Fixes bug 23187090 Change-Id: Idd9798895b08618f7d272b818818a45d3c9dc7d2
* | | | | | | | | 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
* | | | | | | | 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
* | | | | | | Don't call cancel() when fingerprint auth failsJim Miller2015-07-301-2/+0
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | KeyguardUpdateMonitor should not call cancel() when fingerprint auth fails. The life cycle will continue until an actual error occurs or the maximum number of retries is reached. Fixes bug 22562277 Change-Id: I36291d025de9c049cc7f7924f692c8c21349bb7b
* | | | | | Animation for touch, wake and unlockJorim Jaggi2015-07-285-38/+69
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add callback to inform SysUI when the screen has been unblocked and turned on. - Cleanup inconsistent messaging about device interactive/screen on and off. - Add callbacks to inform SysUI about screen states - Implement a quick fade for the scrim after touch, wake, and unlock. First, start with a black scrim on top of everything, and then fade it out. - Make sure we play the normal unlock animation when device is pulsing - Override navigation bar animations for touch, wake and unlock: Fade in the same manner as the scrim. Bug: 22571198 Bug: 21855614 Change-Id: I8ff08d72cced1e0f03c78d71ff710d8a4f6b848c
* | | | | Merge "Move PIN/Pattern appear animation to RenderThread (1/2)" into mnc-devJorim Jaggi2015-07-272-48/+20
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Move PIN/Pattern appear animation to RenderThread (1/2)Jorim Jaggi2015-07-222-48/+20
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22205322 Change-Id: I253f20a397ab89cb78254338a0254619232d7300
* | | | | Adapted the behavior when unlocking with fingerprint is not allowedSelim Cinek2015-07-231-4/+29
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now keep the fingerprint running and switch to the bouncer when the user successfully authenticated. Bug: 21618072 Change-Id: If00061cb3914afd4d7a7d75964594484c792a890
* | | | Touch, wake and unlockJorim Jaggi2015-07-203-25/+76
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add onFingerprintAcquired, so Keyguard can grab a wakelock to prevent the device from sleeping. - If we get a successful fingerprint, wake the device up, immediately dismiss the keyguard and tell PWM that we kicked off our frame that will represent the correct state. - PWM then waits for this frame to be drawn, and then turns on the screen, which results in unlocking directly to the previsouly opened app. Bug: 21855614 Change-Id: I5f43df17fa5e4e9c6a6392eef4a4590b07df4f96
* | | Fixed a bug where a fingerprint animation was not runningSelim Cinek2015-07-162-3/+7
|/ / | | | | | | | | | | | | | | | | Previously the fingerprint animation would not run when we successfully unlocked with the fingerprint, because we were checking for the wrong state. Bug: 22483380 Change-Id: I8d3ec303a43323431b8866df29ddd6d668edc1ed
* | Add a dumpsys for KeyguardUpdateMonitorJason Monk2015-07-131-0/+20
|/ | | | | | | Include the info used when determining carrier text display. Bug: 22212693 Change-Id: I12f01683c259ff11c7f27eec5d03d53f0b290d0b
* Lock screen text: consider possible WFC service in APMEtan Cohen2015-07-082-3/+74
| | | | | Bug: 22302226 Change-Id: Icd885b45ced2b57665fbed54ec6caac36839db6c
* Merge "Use custom theme for keyguard presentation" into mnc-devJim Miller2015-07-071-3/+5
|\
| * Use custom theme for keyguard presentationJim Miller2015-07-071-3/+5
| | | | | | | | | | | | | | | | | | | | The default Material theme for presentations on external displays has a white background. This changes keyguard to use a custom theme since we want white lettering on black. Fixes bug 22305037 Change-Id: Idc6aca2398be34c4603446983e5d276abcace001
* | SystemUI/Keyguard: try authenticate finger after authentication failureJim Miller2015-07-071-2/+2
|/ | | | | | | | | When first authentication is failed, keyguard does not try authenticate again. This modification makes to try again authentication when it receives callback of authentication failure. Bug: 22131472 Change-Id: I5bdfc8b120595bf3252ad6e7353ace7ff7fbbae0
* Disable Keyguard chatynessJorim Jaggi2015-06-291-2/+2
| | | | | Bug: 21320918 Change-Id: I71a52b5a2f27dcf0d81710b16d9d36fc4e73ec04
* Speedup PIN/Pattern dismissalJorim Jaggi2015-06-252-2/+2
| | | | | Bug: 22096344 Change-Id: I50d5ecaa03aae94cecf9da173f0d6318faaf6a1a