summaryrefslogtreecommitdiff
path: root/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java
AgeCommit message (Collapse)Author
2017-02-10Move Keyguard to SystemUIJason Monk
Test: make Change-Id: I3abb67e2b022737d2aa0226bb07f3966ad68fff7
2016-11-29Improve "Try again in 1 seconds" behavior in lockscreenHidenari Koshimae
When user fails an authentification in lockscreen many times, "Try again in 30 seconds." is displayed and a 30 seconds timer starts to count backwards. This lets "Try again in 1 seconds" to be displayed for one second. Bug: 31078006 Change-Id: I6c7de2b751582bb06a93e583b710f83201da1728
2016-10-17Merge "Keyguard: Clean up security message display"Adrian Roos
2016-10-17Keyguard: Clean up security message displayAdrian Roos
- Remove timinig out of messages. This is no longer necessary because we do not show the owner and charging info in that area anymore. - Remove the "important" parameter, which was equivalent to clearing the message if false. Change-Id: I5fae5432724ad90a68f53f678f933c4a15dc6e9b Fixes: 28270749 Test: manual; reboot device, swipe up, verify message doesn't disappear after 5s
2016-10-07Unlock latency improvementsJorim Jaggi
- Make sure the latency also gets tracked on first unlocked in which we cancel the AsyncTask. - Also add it for pattern authentication Change-Id: Ie1561264b0a3b75c09819ccc6d269e61e367e1be
2016-10-07Add latency tracking for checking PIN (1/2)Jorim Jaggi
Also move tags to Keyguard as we need it in Keyguard. Change-Id: I718581cb4081830da1c3a2f4ad9b9f0ec6f09ae5
2016-07-11resolve merge conflicts of 6e57aae to masterSelim Cinek
Change-Id: I929929ad41df4439996755b605d084bfdcf3428a
2016-07-08Improve initial unlock delay (1/2)Jorim Jaggi
When checking for the credentials, we add a new callback onEarlyVerified which gets called as soon as we know that the credential was correct. In KeyguardUpdateMonitor, we track the unlocked state of the user, and if it's still locked, we slow down all the transitions to allow for a more gradual unlock experience. Bug: 29007436 Change-Id: I406d228f9f3e41e07fe3292a61df175a7f579e4d
2016-05-17Merge "Merge "Don\'t always announce accessibility events when resetting ↵Jim Miller
password" into nyc-dev am: 2d1c424a0e am: 9e507bd737" into nyc-mr1-dev-plus-aosp am: 87e89a47ec * commit '87e89a47ecae0f1d5a77de4c3c87440d9e434d18': Don't always announce accessibility events when resetting password Change-Id: I656f646e8e11466aed7198367025ee539d67f65c
2016-05-16Don't always announce accessibility events when resetting passwordJim Miller
The code use to always announce for accessibility when resetting the password field, which results in announcing "Four characters replaced with zero characters." The fix is to only announce this message when the user needs to try again. Fixes bug 24331841 Change-Id: Icc9450d37b9338a39709f50666829d4a007b2b65
2016-05-03Preventing unnecessary switching to a user upon lockscreen dismissing.Vadim Tryshev
This is the part that will go to master branch. The fix passes the 'targetUserId' down to KeyguardViewMediatorWrapper, which explicitly tells what user it need to switch to. Bug: 27927399 Change-Id: I7674272eb654c0acd672cbfd66284bf7cc0c4efa
2016-01-12Fix a race condition during async credential checkXiyuan Xia
Do not dismiss keyguard if KeyguardUpdateMonitor.getCurrentUser() is changed during the async credential check. Bug:26415736 Change-Id: Id7e04c7100e0920fe86fe006840928a936f62dd8
2015-08-26Don't check the keyguard PIN a second timeJim Miller
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
2015-08-11Indicating fingerprint error messages on the bouncer nowSelim Cinek
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
2015-08-03Don't wipe device because of short PIN, patterns or passwordsJim Miller
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
2015-06-18Added a message to the keyguard bouncerSelim Cinek
A message can now be shown on the keyguard bouncer explaining why the bouncer is being shown. Bug: 21618072 Change-Id: I25aea9cc242abbf6a133fb42cc4407f5c2f3f688
2015-05-29Merge "Hide KeyguardMessageArea if empty" into mnc-devAdrian Roos
2015-05-26[LockSettings] migrate password attempt throttling to hardwareAndres Morales
leverage root protected, cryptographically secured hardware if available Bug: 21118563 Change-Id: Ifa804c5a0728bfd14466eb2a84051bace6d33d57
2015-05-26Hide KeyguardMessageArea if emptyAdrian Roos
Also removes dead code. Bug: 20729651 Change-Id: I3a6bee34c5b37fcc304199eb76f31d365c6bb0b4
2015-05-21Do not show soft keyboard when locked out on keyguard UIXiyuan Xia
- 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
2015-05-13Clear security message on user inputXiyuan Xia
Bug:20536310 Change-Id: I57c2fda9def7db4908303ce3ac1977563fc4bfdd
2015-05-12Make PIN/Password/Pattern check asyncXiyuan Xia
- Add LockPatternChecker to support async security check; - Migrate Keyguard UI to use the async check; Bug: 20697812 Change-Id: I77002a12931feb17cc20923d7c917b3e37f2cd31
2015-04-28Remove LockPatternUtils.getCurrentUser()Adrian Roos
Bug: 18931518 Change-Id: I177eefe466c12217cf64c85b872f71bc23c7bf05
2015-04-28Require explicit userId in LockPatternUtilsAdrian Roos
Bug: 18931518 Change-Id: Ib03f37df9135f0324a998c62d165d8eea46328c8
2015-02-28Remove unused imports in frameworks/base.John Spurlock
Change-Id: I031443de83f93eb57a98863001826671b18f3b17
2015-02-02Null-protect attempt to get EmergencyButton.Andrew Lee
Not all device layouts, such as for tablets, will have an Emergency Button, so check for null before attempting to set a callback. Bug: 18977746 Change-Id: I0e909e71c51f6923edda4707bb25053a5f2de398
2015-02-02Reset keyguard/bouncer on "return to call".Andrew Lee
+ Add callback, to be invoked when EmergencyButton is clicked when inside a call. + Route callback to the KeyguardViewMediator, to invoke resetStateLocked() to reset the bouncer. Bug: 18977746 Change-Id: I4733ccfb6809c4610184a33a28ba38ecf255231f
2015-01-07Remove dead code #8: Remove old keyguard "bouncer"Jorim Jaggi
Also squashes KeyguardViewBase and KeyguardSimpleHostView into KeyguardHostView, uses a constant for the user activity timeout (custom value no longer used). Change-Id: I919b7d3de1dd1590b20e0f14f0e193ee2b3dc21e
2014-08-12Preparations for lockscreen launch animationsJorim Jaggi
- Update unlock animations to new spec to make the consistent with lockscreen launch animations. - Introduce disappearing motion for security views which runs before we actually dismiss Keyguard. - If a window is running the un-force-hide animation, treat as it would have the wallpaper flag set so the wallpaper stays until the animation is completely done. - Run an animation on the wallpaper if the wallpaper is going away. Bug: 15991916 Bug: 16234603 Bug: 15326120 Change-Id: I063aa4f269ddcf75b9a705e90f0c3056b541b642
2014-07-04Clean up user activity handlingJorim Jaggi
- Only call userActivity in down touch event - Use normal timeout when QS is open - Clean up old code regarding user activity in Keyguard Change-Id: I968eeed33fef44def37b68eb1ddc63f1a531ab35
2014-06-30Implemented new PIN unlock designSelim Cinek
The pin unlock design was changed according to the spec and new animations where introduced for the password field. Bug: 13735707 Change-Id: I76f5e873bd0ea4f34ca3d2cd971223f0a83e2f28
2014-05-19Fix Keyguard PIN error message for N < 4.Jim Miller
This fixes a bug where no error message was shown when the user enters less than 4 digits for a PIN. Fixes bug 14658301 Change-Id: Ia36ad205d197f0eb5f5095d71bc239ec7ded85f2
2014-05-12Don't clear the password field when window focus changes.Jim Miller
This is no longer required since we now clear the password field when showing the bouncer. The code used to clear it because keyguard was relatively static and we didn't want to keep the password around through an interruption like a phone call or launching the camera. Fixes bug 14622312 Change-Id: I4808d51198ba0e6b1e03e26fee22bb08c752e613
2014-03-31Reuse KeyguardViewMediator for new Keyguard implementation.Jorim Jaggi
This change reuses KeyguardViewMediator for the new Keyguard implementation in status bar. KeyguardViewManager is replaced by StatusBarKeyguardManager which handles adding the view, setting the state etc. StatusBarWindowManager is introduced to managed the window of the status bar, which has the logic of both the old Keyguard window and the old status bar window. In the current implementation, Keyguard gets displayed like it would be in the bouncer state, but that's likely to change in the future. Also, setHidden in IKeyguardService is also renamed to setOccluded, as the word hidden interferes with the terminology when dismissing the Keyguard. Bug: 13635952 Change-Id: I1c5d5a49d810d8532089f464cb2efe35e577f517
2014-01-27Move majority of security-related logic from KeyguardHostViewJim Miller
to KeyguardSecurityContainer. This removes and/or simplifies the interface between modules to allow easier separation of KeyguardSecurityContainer into a stand-alone component. Bug 12135931
2013-10-11Fix bug where lockout timeout is shown for SIM in keyguardJim Miller
Fixes bug 11193577 Change-Id: I62964c478bdb060ea6964009fc99bc3d7b5e3f80
2013-02-27Move keyguard to its own process.Jim Miller
This is in preparation to moving keyguard into its own process. Moved keyguard source and resources into new .apk. Got basic test app working. Still need to implement MockPatternUtils and means to pass it into KeyguardService with local binder interface. Added new ACCESS_KEYGUARD_SECURE_STORAGE permission. Temporarily disabled USER_PRESENT broadcast. Remove unintentional whitespace changes in PhoneWindowManager, etc. Checkpoint basic working version. Move to systemui process. Synchronize with TOT. Sync with recent user API changes. Fix bug with returing interface instead of stub for IKeyguardResult. Create KeyguardServiceDelegate to allow for runtime-selectable local or remote interface. More keyguard crash robustness. Keyguard crash recovery working. Currently fails safe (locked). Fix selector view which was still using frameworks resources. Remove more references to internal framework variables. Use aliases for those we should move but currently have dependencies. Allow runtime switching between service and local mode. Fix layout issue on tablets where orientation was reading the incorrect constant from the framework. Remove more framework dependencies. Fix PIN keyboard input. Remove unnecessary copy of orientation attrs. Remove unused user selector widget and attempt to get multi user working again. Fix multi-user avatar icon by grabbing it from UserManager rather than directly since keyguard can no longer read it. Merge with AppWidget userId changes in master. Change-Id: I254d6fc6423ae40f6d7fef50aead4caa701e5ad2
2013-02-27Move keyguard source and resources into new packageJim Miller
This is part 1 of two commits. This commit moves all keyguard source and resources to a new com.android.keyguard package. The second part of this change applies an overlay that makes it work. Change-Id: I360e9ac7783c6cb289c992733818b9535df185b9