summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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
* 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 "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
* | 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-294-151/+58
|\
| * Hide KeyguardMessageArea if emptyAdrian Roos2015-05-264-151/+58
| | | | | | | | | | | | | | Also removes dead code. Bug: 20729651 Change-Id: I3a6bee34c5b37fcc304199eb76f31d365c6bb0b4
* | Enable Keyguard debug loggingJorim Jaggi2015-05-291-1/+1
| | | | | | | | | | Bug: 21320918 Change-Id: I2529bfb7cdaae6042bbc9e51340c7571a5a63ad0
* | Avoid keyguard UI layout dimensions underflowXiyuan Xia2015-05-281-2/+2
| | | | | | | | | | | | | | | | | | | | KeyguardBouncer could have 0 as its content area size. Two transient cases found: on device boot with a 0 sized StatusBarWindowView and first time showing after user switching. Be defensive and protect against the case. Bug:21333202 Change-Id: I73eabf64c597ea3ae96ccfba1aecf702da8dfb23
* | Merge "[LockSettings] migrate password attempt throttling to hardware" into ↵Andres Morales2015-05-274-47/+44
|\ \ | | | | | | | | | mnc-dev
| * | [LockSettings] migrate password attempt throttling to hardwareAndres Morales2015-05-264-47/+44
| | | | | | | | | | | | | | | | | | | | | | | | leverage root protected, cryptographically secured hardware if available Bug: 21118563 Change-Id: Ifa804c5a0728bfd14466eb2a84051bace6d33d57
* | | Polish animations for fingerprint iconJorim Jaggi2015-05-261-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | - Make error state animation faster. - Add animation for -- Draw on when turning on the screen -- Draw off when unlocking -- Error state -> normal state Bug: 21269675 Change-Id: If09c0a35ce194fbeeb86151d45b4cfa81c9999c5
* | Merge "Do not show soft keyboard when locked out on keyguard UI" into mnc-devXiyuan Xia2015-05-213-3/+19
|\ \
| * | Do not show soft keyboard when locked out on keyguard UIXiyuan Xia2015-05-213-3/+19
| |/ | | | | | | | | | | | | | | | | | | | | - Split password entry enabled and input enabled into two states; - Disable input during lock check; - Disable password entry when locked out; - Don't show soft keyboard if password entry is disabled on resume; - Auto show soft keyboard when password entry becomes enabled; Bug:20542149 Change-Id: Iffe3f205776143ac21e25e337d5b7a0e6994ebf2
* | Move from native FingerprintService implementation to fingerprintdJim Miller2015-05-201-3/+1
|/ | | | | | | | This adds a new service, fingerprintd, that manages fingerprint hardware from a separate process. It provides a binder interface that FingerprintManager uses to talk to the fingerprint HAL. Change-Id: I84d8e407c1f1a7d1a396e246c382459ad38810ae
* Merge "No input instead of disabling password entry" into mnc-devXiyuan Xia2015-05-191-2/+7
|\
| * No input instead of disabling password entryXiyuan Xia2015-05-191-2/+7
| | | | | | | | | | | | | | So that the keyboard does not come and go all the time. Bug:21271425 Change-Id: I9ba2fa7034777885a6e53f135eca31fc89568e9d
* | Prevent EmergencyDialer restart from KeyguardAdrian Roos2015-05-181-1/+3
|/ | | | | | | | | Fixes a flicker caused by clearing the emergency dialer task when it was already launched. Instead we now only clear activities on top of the dialer. Bug: 20728640 Change-Id: I8a1214c4726e4848587a81e9050a6ab63759b64f
* Merge "Clear security message on user input" into mnc-devXiyuan Xia2015-05-146-16/+49
|\
| * Clear security message on user inputXiyuan Xia2015-05-136-16/+49
| | | | | | | | | | Bug:20536310 Change-Id: I57c2fda9def7db4908303ce3ac1977563fc4bfdd
* | Merge "Fix fingerprint for multiuser" into mnc-devJorim Jaggi2015-05-141-48/+6
|\ \
| * | Fix fingerprint for multiuserJorim Jaggi2015-05-131-48/+6
| |/ | | | | | | Change-Id: Iab18c4de9764da1a65490b186b33535f8e79e1e5
* | Persist fingerprint namesJorim Jaggi2015-05-131-10/+2
|/ | | | | Bug: 20469328 Change-Id: I8f4a988687bfb78c36cc7cf187103a9d93ed4535
* Make PIN/Password/Pattern check asyncXiyuan Xia2015-05-122-5/+57
| | | | | | | | - Add LockPatternChecker to support async security check; - Migrate Keyguard UI to use the async check; Bug: 20697812 Change-Id: I77002a12931feb17cc20923d7c917b3e37f2cd31
* Use new hierarchy viewer protocol in all View subclassesSiva Velusamy2015-05-071-0/+13
| | | | | | | | | A previous CL introduced a new way of encoding view properties for use by heirarchy viewer. This CL updates all views using the old @ExportedProperty annotation to use this new method. The older mechanism will be removed in a subsequent CL. Change-Id: I6cc23b90cd9da1c6ce89b4caffe54874db203452
* Retry "Always show auxiliary subtypes from NavBar keyboard icon."Seigo Nonaka2015-05-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This CL relands I1e50ee42838a1bf64a612da4904aa93458d44ea4, which was reverted by I3decaf37198e5864a1763a059df4a36ebc70c5a7 due to the build breakage in 'layoutlib' target, with a proper fix. Hereafter the original CL description is repeated. The auxiliary subtypes should be listed if the input method picker is opened from NavBar keyboard icon. However there is only IMM#showInputMethodPicker() API to open input method picker and this is also used from LockScreen or Settings UI. Auxiliary subtypes should not be listed there(Id7cf5d122). Thus framework shows auxiliary subtypes based on IMMS#mInputShown and LockScreen state, but it is not a perfect solution. If a physical keyboard is connected, the soft input may be gone. As the result, auxiliary subtypes won't be listed even if it is opened from NavBar keyboard icon. To fix this issue, this CL introduces IMM#showInputMethodPicker(boolean) to be able to decide showing auxiliary subtypes by caller. Note that IMM#showInputMethodPicker(boolean) is still hidden with @hide. There is no public API change in this CL. Bug: 20763994 Change-Id: Id156c85535a221235737ea6dcc15a67f1c4b9f71
* Merge "Revert "Always show auxiliary subtypes from NavBar keyboard icon."" ↵Bart Sears2015-05-071-2/+1
|\ | | | | | | into mnc-dev
| * Revert "Always show auxiliary subtypes from NavBar keyboard icon."Bart Sears2015-05-071-2/+1
| | | | | | | | | | | | | | | | CL is breaking the build. Discussed with Seigo and verting until he can take a look at it. This reverts commit 80ff4ed6bb8dbdad7192d679a01096aa888e090b. Change-Id: I3decaf37198e5864a1763a059df4a36ebc70c5a7
* | Merge "Always show auxiliary subtypes from NavBar keyboard icon." into mnc-devSeigo Nonaka2015-05-061-1/+2
|\ \ | |/
| * Always show auxiliary subtypes from NavBar keyboard icon.Seigo Nonaka2015-05-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The auxiliary subtypes should be listed if the input method picker is opened from NavBar keyboard icon. However there is only IMM#showInputMethodPicker() API to open input method picker and this is also used from LockScreen or Settings UI. Auxiliary subtypes should not be listed there(Id7cf5d122). Thus framework shows auxiliary subtypes based on IMMS#mInputShown and LockScreen state, but it is not a perfect solution. If a physical keyboard is connected, the soft input may be gone. As the result, auxiliary subtypes won't be listed even if it is opened from NavBar keyboard icon. To fix this issue, this CL introduces IMM#showInputMethodPicker(boolean) to be able to decide showing auxiliary subtypes by caller. Note that IMM#showInputMethodPicker(boolean) is still hidden with @hide. There is no public API change in this CL. Bug: 20763994 Change-Id: I1e50ee42838a1bf64a612da4904aa93458d44ea4
* | Make sure fingerprint error messages are handled in KeyguardJorim Jaggi2015-05-051-1/+1
| | | | | | | | Change-Id: I332c08c5e94cf58a2d3f696860511c1a84fecda5
* | Only enable fingerprint auth after first regular authJorim Jaggi2015-05-051-4/+5
|/ | | | | | | | | - Add method hasUserAuthenticatedSinceBoot to TrustManagerService - Use this information to only enable fingerprint auth after the user has at least once authenticated with his regular authentication method. Change-Id: Icf073ac3b340d557b044f6bf27f1a7f8511048e2
* Update emergency call button label when language changesJorim Jaggi2015-05-041-0/+7
| | | | | Bug: 17987231 Change-Id: I74fe6942f4ff965537803d61f3446d5f28a60f9e
* Track unlock attempts per user.Jorim Jaggi2015-05-042-16/+8
| | | | | Bug: 19330825 Change-Id: I3e09f676b945dbeee16dc0fb3cb126cb884a6934
* Merge "Only listen for fingerprint if needed." into mnc-devJorim Jaggi2015-04-281-6/+20
|\
| * Only listen for fingerprint if needed.Jorim Jaggi2015-04-281-6/+20
| | | | | | | | | | | | | | | | Clean up fingerprint listening lifecycle. Only listen for fingerprint if both screen is turned on and Keyguard is actually showing (not occluded). Change-Id: I169ce9df308b96487ed9dc5c8ad8f1c301f2ef93
* | Remove LockPatternUtils.getCurrentUser()Adrian Roos2015-04-288-17/+27
| | | | | | | | | | Bug: 18931518 Change-Id: I177eefe466c12217cf64c85b872f71bc23c7bf05
* | Require explicit userId in LockPatternUtilsAdrian Roos2015-04-286-12/+20
|/ | | | | Bug: 18931518 Change-Id: Ib03f37df9135f0324a998c62d165d8eea46328c8
* Don't show two identical carrier names.Sanket Padawe2015-04-231-6/+7
| | | | | | | Multi-sim device would show 2 PLMN in status bar even if they are same. Bug: 19710990 Change-Id: I07ba5cbf82d4cc99bb7be644cc1e95c525bcfb8b
* Clear emergency dialer task on launchAdrian Roos2015-04-211-1/+3
| | | | | Bug: 20344056 Change-Id: Ic26f003acad3f9f91d772e5b4be8bd4b8aff5ec8
* Remove unsed failedAttemptWarning in reportFailedUnlockAttempt().Thiemo Nagel2015-04-201-3/+0
| | | | Change-Id: I6ca76f6ebe84e04f84161c7fc06d1e2443f7bbfe
* Allow dismissing Keyguard from TrustAgentServiceAdrian Roos2015-04-174-13/+31
| | | | | Bug: 19900313 Change-Id: I44d13ee6fe65070327076e73a3ed96c94acdc108
* More fingerprint API's for 3rd party appsJorim Jaggi2015-04-151-10/+3
| | | | | | | | - Make isHardwareAvailable public - Add hasEnrolledFingerprints so apps can check whether to show fingerprint UI or not. Change-Id: Iaefd5e9e68bf3bee8305574dc1477ea9bc72b30a
* Fix fingerprint API for 3rd party appsJorim Jaggi2015-04-141-1/+3
| | | | Change-Id: Id68d04b4deef9940a683d2b40f1db231845b00e3