1199 Commits

Author SHA1 Message Date
Selim Cinek
f8acd1d8d6 Merge "Adapted the behavior when unlocking with fingerprint is not allowed" into mnc-dev 2015-07-25 00:33:14 +00:00
Adrian Roos
384b5d20b6 am a65de4fd: am b2f8c716: am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI
* commit 'a65de4fde99c84ae7c7cab242e8e1e46ee6c0a5d':
  Prevent insanely long passwords from crashing SystemUI
2015-07-24 22:41:26 +00:00
Adrian Roos
a65de4fde9 am b2f8c716: am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI
* commit 'b2f8c716e8d2cf575c690b5a360c4efdd9f06bc8':
  Prevent insanely long passwords from crashing SystemUI
2015-07-24 19:45:24 +00:00
Selim Cinek
1fcafc49ad Adapted the behavior when unlocking with fingerprint is not allowed
We now keep the fingerprint running and switch to the bouncer when
the user successfully authenticated.

Bug: 21618072
Change-Id: If00061cb3914afd4d7a7d75964594484c792a890
2015-07-23 15:27:32 -07:00
Adrian Roos
b2f8c716e8 am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI
* commit '50ed152ab646b00714947a9cf75e01e618b16c02':
  Prevent insanely long passwords from crashing SystemUI
2015-07-23 21:31:41 +00:00
Adrian Roos
50ed152ab6 am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI
* commit '7f63ef380ff8c95ea43edd832a7b986ad362e7cf':
  Prevent insanely long passwords from crashing SystemUI
2015-07-23 18:47:07 +00:00
Adrian Roos
7f63ef380f am 9b6a6099: Prevent insanely long passwords from crashing SystemUI
* commit '9b6a60991453136819a6feeca404e1102e78f735':
  Prevent insanely long passwords from crashing SystemUI
2015-07-23 18:34:56 +00:00
Adrian Roos
9b6a609914 Prevent insanely long passwords from crashing SystemUI
Bug: 22214934
Change-Id: I32e238e53ac4b6dd0ae6de226b98894c495b256f
2015-07-22 22:10:57 +00:00
Jorim Jaggi
740452e875 Touch, wake and unlock
- 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
2015-07-20 23:52:20 +00:00
Selim Cinek
e8bae6288b Fixed a bug where a fingerprint animation was not running
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
2015-07-16 17:23:26 -07:00
Jason Monk
ab52527262 Add a dumpsys for KeyguardUpdateMonitor
Include the info used when determining carrier text display.

Bug: 22212693
Change-Id: I12f01683c259ff11c7f27eec5d03d53f0b290d0b
2015-07-13 17:05:16 -04:00
Etan Cohen
47051d8e6d Lock screen text: consider possible WFC service in APM
Bug: 22302226
Change-Id: Icd885b45ced2b57665fbed54ec6caac36839db6c
2015-07-08 11:38:25 -07:00
Geoff Mendal
510cd45455 Import translations. DO NOT MERGE
Change-Id: I5571e07743dcea7a5e3f064599480796132cc31c
Auto-generated-cl: translation import
2015-07-08 06:48:51 -07:00
Jim Miller
e86f175229 Merge "Use custom theme for keyguard presentation" into mnc-dev 2015-07-07 23:33:22 +00:00
Jim Miller
c90d64583c Use custom theme for keyguard presentation
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
2015-07-07 15:49:05 -07:00
Jim Miller
f2d9ad2e90 SystemUI/Keyguard: try authenticate finger after authentication failure
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
2015-07-07 15:32:00 -07:00
Geoff Mendal
de04da1d9e Import translations. DO NOT MERGE
Change-Id: I1b900ec1f54720fab0915cede28dd79fbcb70d5c
Auto-generated-cl: translation import
2015-07-06 08:47:43 -05:00
Jorim Jaggi
7475d103c1 Disable Keyguard chatyness
Bug: 21320918
Change-Id: I71a52b5a2f27dcf0d81710b16d9d36fc4e73ec04
2015-06-29 17:26:29 -07:00
Jorim Jaggi
94f6f06101 Speedup PIN/Pattern dismissal
Bug: 22096344
Change-Id: I50d5ecaa03aae94cecf9da173f0d6318faaf6a1a
2015-06-25 21:49:20 +00:00
Selim Cinek
245273ec8d Fixed an inconsistency when booting up with SIMPIn
The lockscreen was skipped when the security mode was
swipe, which is inconsistent with the normal bootup
behavior.

Bug: 21850021
Change-Id: I2c59b1428d489fad566097771ca449ba667f34d2
2015-06-24 13:17:56 -04:00
Geoff Mendal
70b4edff24 Import translations. DO NOT MERGE
Change-Id: Ifd91f44e7bb3ea8577d2054394d4e6b64c488f2b
Auto-generated-cl: translation import
2015-06-22 08:51:18 -05:00
Selim Cinek
3122fa85b2 Added a message to the keyguard bouncer
A message can now be shown on the keyguard bouncer
explaining why the bouncer is being shown.

Bug: 21618072
Change-Id: I25aea9cc242abbf6a133fb42cc4407f5c2f3f688
2015-06-18 15:30:36 -07:00
Geoff Mendal
6e88187a20 Import translations. DO NOT MERGE
Change-Id: I47235b1d4bd87bf37da15e687b3f5cbfc5f4c0b4
Auto-generated-cl: translation import
2015-06-17 08:50:03 -05:00
Geoff Mendal
007c215917 Import translations. DO NOT MERGE
Change-Id: Id021d13867abfcb10e4fb1a9754ae21052f66ffb
Auto-generated-cl: translation import
2015-06-15 08:43:30 -05:00
Jason Monk
052082c529 Fix CarrierText airplane mode with no sims
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
2015-06-11 11:35:23 -04:00
Selim Cinek
056b131ca8 Merge "Added strings to explain why the security method needs to be solved" into mnc-dev 2015-06-11 08:12:51 +00:00
Selim Cinek
56a44628b5 Added strings to explain why the security method needs to be solved
Bug: 21618072
Change-Id: I4feca6a597610b09dc4399ff2e9962d0928f46c0
2015-06-11 00:37:18 -07:00
Adrian Roos
3aa16d761e Merge "Remove click listener from PIN views" into mnc-dev 2015-06-11 00:25:13 +00:00
Adrian Roos
2285308629 Remove click listener from PIN views
Bug: 21638812
Change-Id: I382dd0f64092aebeb6fdb6b2e2d465b0abdd5669
2015-06-10 16:43:28 -07:00
Jorim Jaggi
7bcacc9c6a Merge "Animations/success state for external confirm device credentials (1/2)" into mnc-dev 2015-06-10 23:10:10 +00:00
Adrian Roos
27b96cc738 Remove unusable a11y focusable area from pattern unlock
Bug: 20343910
Change-Id: I7644ee8284382072fda8b4aab0ef7114d9079ac1
2015-06-10 13:59:35 -07:00
Jorim Jaggi
5673353559 Animations/success state for external confirm device credentials (1/2)
Bug: 20929186
Change-Id: I8ca396e353189da7da3e9c98f841b76c876e461e
2015-06-09 15:25:40 -07:00
Jim Miller
4f364c9e5f Fix NPE cause by new fingerprint permission check
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
2015-06-08 19:24:13 -07:00
Jim Miller
f501b58de8 Update and cleanup FingerprintManager API to new spec
Fixes bug 21040383

Change-Id: Ib97d486535869814d5b449cccb31670e8f412552
2015-06-08 16:36:29 -07:00
Chris Wren
de0a21f436 instrument emergency call button
Bug: 21527672
Change-Id: I1cc8ace204e16964ae2a251152f36133e6d02932
2015-06-05 17:17:55 -04:00
Jorim Jaggi
d944986fbd Fix API review: Camera prewarm
Let the intent receiver of a camea launch intent declare a prewarm
service instead of sending broadcasts.

Bug: 21347653
Change-Id: I11e31aad4f788ad90eb46a661b819d3e808ddb51
2015-06-01 18:01:20 -07:00
Adrian Roos
e67f67da9a Merge "Hide KeyguardMessageArea if empty" into mnc-dev 2015-05-29 21:33:09 +00:00
Jorim Jaggi
2400197f10 Enable Keyguard debug logging
Bug: 21320918
Change-Id: I2529bfb7cdaae6042bbc9e51340c7571a5a63ad0
2015-05-29 19:34:48 +00:00
Geoff Mendal
df55ecbf9c Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-05-29 14:50:36 +00:00
Geoff Mendal
e8209fffe9 Import translations. DO NOT MERGE
Change-Id: I290120b9af321f28cbf754ebc76a154e8b806ddf
Auto-generated-cl: translation import
2015-05-29 09:28:27 -05:00
Xiyuan Xia
79f38a2e32 Avoid keyguard UI layout dimensions underflow
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
2015-05-28 14:57:21 -07:00
Andres Morales
5ccfe51d8b Merge "[LockSettings] migrate password attempt throttling to hardware" into mnc-dev 2015-05-27 18:37:32 +00:00
Andres Morales
2397427cb1 [LockSettings] migrate password attempt throttling to hardware
leverage root protected, cryptographically secured hardware
if available

Bug: 21118563
Change-Id: Ifa804c5a0728bfd14466eb2a84051bace6d33d57
2015-05-26 19:48:51 -07:00
Adrian Roos
28828b5f62 Hide KeyguardMessageArea if empty
Also removes dead code.

Bug: 20729651
Change-Id: I3a6bee34c5b37fcc304199eb76f31d365c6bb0b4
2015-05-26 16:38:59 -07:00
Jorim Jaggi
864e64bace Polish animations for fingerprint icon
- 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
2015-05-26 13:34:34 -07:00
Xiyuan Xia
e695b59eb5 Merge "Do not show soft keyboard when locked out on keyguard UI" into mnc-dev 2015-05-21 16:15:51 +00:00
Baligh Uddin
7ded358368 Import translations. DO NOT MERGE
Change-Id: I2e800db526beb320e54c5f80ba8f8bf6a81391e0
Auto-generated-cl: translation import
2015-05-20 21:54:23 -07:00
Xiyuan Xia
de26ea65a8 Do not show soft keyboard when locked out on keyguard UI
- 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-21 01:39:08 +00:00
Jim Miller
0a17fb4e56 Merge "Move from native FingerprintService implementation to fingerprintd" into mnc-dev 2015-05-21 00:57:44 +00:00
Jim Miller
be67542182 Move from native FingerprintService implementation to fingerprintd
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
2015-05-20 14:56:06 -07:00