Changes the unlock icon to an open lock
when the keyguard will not ask for credentials.
Bug: 14295559
Change-Id: If34a5ec9e23b2d22813860faee125e6b2d700643
This will be re-added as a Trustlet in a subsequent CL.
This reverts commit 38a7ed05f8fed0aa81f7214d827875f9876ffbe1.
Change-Id: I5aa36df42a7751f165b4ef184e0cda57e5568b59
FUL used to show on the notification shade when returning from
something that was occluding keyguard such as navigation or
secure camera. This fix makes FUL only display on the bouncer,
never on the notification shade.
Change-Id: I6b6dc1453a167161330132c1e2703c296050bf0e
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
The check for whether the device is in trusted mode happened at
the wrong time previously. Now it is checked when trying to dismiss
the keyguard.
Bug: 15072996
Change-Id: I81a3793ba1cf25468d3c923b2075f4c987b79e53
This is no longer required since we now clear the pattern field
when showing the bouncer.
Fixes bug 14622312
Change-Id: I476bbc95449cd31e56aeac579b3c94f859cd020b
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
Previously, we skipped the bouncer when the user didn't had a
security method set. Users without a security method couldn't unlock
their SIM cards though. This change moves the responsibility to
decide what to do to bouncer, so SIM pin is still shown with users
without secrity methods. The bouncer will still be skipped if no
authentication is required.
Bug: 13635952
Change-Id: I0b43628c37d769515e97c29fc5fb5337fe46526f
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
This change achieves a couple of things:
- Let Keyguard be a library, so we can use it in SystemUI.
- Introduce FLAG_KEYGUARD for windows and deprecate TYPE_KEYGUARD. Make
all the TYPE_KEYGUARD behaviour dependant on the flag.
- Implement a new KeyguardService in SystemUI, and bind that service
from PhoneWindowManager.
- Introduce BaseStatusBar.setKeyguardState and inflate
KeyguardSimpleHostView there and use FLAG_KEYGUARD for the window, such
that the status bar window essentially gets the Keyguard.
Bug: 13635952
Change-Id: I059d80d8b9b9818a778ab685f4672ea2694def63
On eng and userdebug builds, adds the possibility to track touch and sensor events on the Keyguard.
Change-Id: I9ff9fe5545cb9b7e6833a6af0b5a97a6c204dbd2