summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge "Fix pattern lock for accessibility" into mnc-devAdrian Roos2015-07-292-4/+1
|\
| * Fix pattern lock for accessibilityAdrian Roos2015-07-292-4/+1
| | | | | | | | | | | | | | | | | | - remove the content description in Keyguard - only show virtual views when pattern is in progress - add a content description when the pattern is not in progress Bug: 22646748 Change-Id: Id32a37c4c74c82b547cee8861b2856fa0a08c41c
* | 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
* | Merge "Adapted the behavior when unlocking with fingerprint is not allowed" ↵Selim Cinek2015-07-251-4/+29
|\ \ | | | | | | | | | into mnc-dev
| * | 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
* | am a65de4fd: am b2f8c716: am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent ↵Adrian Roos2015-07-241-0/+1
|\ \ | |/ |/| | | | | | | | | insanely long passwords from crashing SystemUI * commit 'a65de4fde99c84ae7c7cab242e8e1e46ee6c0a5d': Prevent insanely long passwords from crashing SystemUI
| * am b2f8c716: am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long ↵Adrian Roos2015-07-241-0/+1
| |\ | | | | | | | | | | | | | | | | | | passwords from crashing SystemUI * commit 'b2f8c716e8d2cf575c690b5a360c4efdd9f06bc8': Prevent insanely long passwords from crashing SystemUI
| | * am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from ↵Adrian Roos2015-07-231-0/+1
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | crashing SystemUI * commit '50ed152ab646b00714947a9cf75e01e618b16c02': Prevent insanely long passwords from crashing SystemUI
| | | * am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUIAdrian Roos2015-07-231-0/+1
| | | |\ | | | | | | | | | | | | | | | | | | | | * commit '7f63ef380ff8c95ea43edd832a7b986ad362e7cf': Prevent insanely long passwords from crashing SystemUI
| | | | * am 9b6a6099: Prevent insanely long passwords from crashing SystemUIAdrian Roos2015-07-231-0/+1
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | * commit '9b6a60991453136819a6feeca404e1102e78f735': Prevent insanely long passwords from crashing SystemUI
| | | | | * Prevent insanely long passwords from crashing SystemUIAdrian Roos2015-07-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22214934 Change-Id: I32e238e53ac4b6dd0ae6de226b98894c495b256f
| | | | | * Import translations. DO NOT MERGEBaligh Uddin2014-10-193-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I53740eab00c3d795b9e7514e079bc2a74b557d95 Auto-generated-cl: translation import
| | * | | | Import translations. DO NOT MERGEGeoff Mendal2015-03-162-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icc111cdfe84d93d8212be18ba9815a50a83f059c Auto-generated-cl: translation import
| | * | | | Import translations. DO NOT MERGEGeoff Mendal2015-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If2c19af2e0b45fec9a0486eedbe51d7fe8bdf426 Auto-generated-cl: translation import
| | * | | | Import translations. DO NOT MERGEGeoff Mendal2015-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7b517cbc545481e58ddc8afc769fc5f39d4fd1ad Auto-generated-cl: translation import
* | | | | | 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
* | | | | | Import translations. DO NOT MERGEGeoff Mendal2015-07-082-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5571e07743dcea7a5e3f064599480796132cc31c Auto-generated-cl: translation import
* | | | | | Merge "Use custom theme for keyguard presentation" into mnc-devJim Miller2015-07-072-3/+9
|\ \ \ \ \ \
| * | | | | | Use custom theme for keyguard presentationJim Miller2015-07-072-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Import translations. DO NOT MERGEGeoff Mendal2015-07-063-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1b900ec1f54720fab0915cede28dd79fbcb70d5c Auto-generated-cl: translation import
* | | | | | 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
* | | | | | Fixed an inconsistency when booting up with SIMPInSelim Cinek2015-06-241-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The lockscreen was skipped when the security mode was swipe, which is inconsistent with the normal bootup behavior. Bug: 21850021 Change-Id: I2c59b1428d489fad566097771ca449ba667f34d2
* | | | | | Import translations. DO NOT MERGEGeoff Mendal2015-06-221-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ifd91f44e7bb3ea8577d2054394d4e6b64c488f2b Auto-generated-cl: translation import
* | | | | | Added a message to the keyguard bouncerSelim Cinek2015-06-1812-10/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A message can now be shown on the keyguard bouncer explaining why the bouncer is being shown. Bug: 21618072 Change-Id: I25aea9cc242abbf6a133fb42cc4407f5c2f3f688
* | | | | | Import translations. DO NOT MERGEGeoff Mendal2015-06-1736-520/+640
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I47235b1d4bd87bf37da15e687b3f5cbfc5f4c0b4 Auto-generated-cl: translation import
* | | | | | Import translations. DO NOT MERGEGeoff Mendal2015-06-1577-61/+1399
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id021d13867abfcb10e4fb1a9754ae21052f66ffb Auto-generated-cl: translation import
* | | | | | Fix CarrierText airplane mode with no simsJason Monk2015-06-111-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CarrierText wouldn't always update the text when airplane mode changed, because it depended on the subscriptions to change to know to update. Now have KeyguardUpdateMonitor listen to airplane mode changes so that we update text when needed. Bug: 21705446 Change-Id: I64e1194ebb055ad10acd96b33e22b95fe2454425
* | | | | | Merge "Added strings to explain why the security method needs to be solved" ↵Selim Cinek2015-06-111-0/+36
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | into mnc-dev
| * | | | | | Added strings to explain why the security method needs to be solvedSelim Cinek2015-06-111-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21618072 Change-Id: I4feca6a597610b09dc4399ff2e9962d0928f46c0
* | | | | | | Merge "Remove click listener from PIN views" into mnc-devAdrian Roos2015-06-111-7/+0
|\ \ \ \ \ \ \
| * | | | | | | Remove click listener from PIN viewsAdrian Roos2015-06-101-7/+0
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21638812 Change-Id: I382dd0f64092aebeb6fdb6b2e2d465b0abdd5669
* | | | | | | Merge "Animations/success state for external confirm device credentials ↵Jorim Jaggi2015-06-105-273/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | (1/2)" into mnc-dev
| * | | | | | | Animations/success state for external confirm device credentials (1/2)Jorim Jaggi2015-06-095-273/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 20929186 Change-Id: I8ca396e353189da7da3e9c98f841b76c876e461e
* | | | | | | | Remove unusable a11y focusable area from pattern unlockAdrian Roos2015-06-101-2/+1
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 20343910 Change-Id: I7644ee8284382072fda8b4aab0ef7114d9079ac1
* | | | | | | Fix NPE cause by new fingerprint permission checkJim Miller2015-06-081-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We no longer send fingerprintid to non-privileged apps. Though Keyguard can get the permission, it does not currently use fingerprint info, so remove the API call. Fixes bug 21040383 Change-Id: I8a9461ed138c368afc75601fe6d4eadc9a8b91c5
* | | | | | | Update and cleanup FingerprintManager API to new specJim Miller2015-06-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 21040383 Change-Id: Ib97d486535869814d5b449cccb31670e8f412552
* | | | | | | instrument emergency call buttonChris Wren2015-06-051-0/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21527672 Change-Id: I1cc8ace204e16964ae2a251152f36133e6d02932
* | | | | | Fix API review: Camera prewarmJorim Jaggi2015-06-011-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let the intent receiver of a camea launch intent declare a prewarm service instead of sending broadcasts. Bug: 21347653 Change-Id: I11e31aad4f788ad90eb46a661b819d3e808ddb51
* | | | | | Merge "Hide KeyguardMessageArea if empty" into mnc-devAdrian Roos2015-05-297-154/+62
|\ \ \ \ \ \
| * | | | | | Hide KeyguardMessageArea if emptyAdrian Roos2015-05-267-154/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also removes dead code. Bug: 20729651 Change-Id: I3a6bee34c5b37fcc304199eb76f31d365c6bb0b4
* | | | | | | Enable Keyguard debug loggingJorim Jaggi2015-05-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21320918 Change-Id: I2529bfb7cdaae6042bbc9e51340c7571a5a63ad0