1336 Commits

Author SHA1 Message Date
Jim Miller
8ae1be1208 Disable fingerprint when remotely reset by DPM
When the device is lost or stolen, it's safer to
fall back to strong authentication (pin, pattern or
password).  This disables fingerprint like we do with
trust agents.

Fixes bug 21620081

Change-Id: I7bbe54be3721b2f160b783daeb3acbe434705046
2015-08-05 20:06:37 +00:00
Jim Miller
59128d812e am d14fa9b4: am 3f9b9f2b: am 45fcaa54: Merge "Don\'t wipe device because of short PIN, patterns or passwords" into mnc-dev
* commit 'd14fa9b4158979afb4a43e2ea572a216ca5dc8d4':
  Don't wipe device because of short PIN, patterns or passwords
2015-08-03 20:50:52 +00:00
Jim Miller
d14fa9b415 am 3f9b9f2b: am 45fcaa54: Merge "Don\'t wipe device because of short PIN, patterns or passwords" into mnc-dev
* commit '3f9b9f2bbe81e25cfc2754e19a129895f8ad1011':
  Don't wipe device because of short PIN, patterns or passwords
2015-08-03 20:41:52 +00:00
Jim Miller
3f9b9f2bbe am 45fcaa54: Merge "Don\'t wipe device because of short PIN, patterns or passwords" into mnc-dev
* commit '45fcaa547dc5b9eb2c20879b290415daa1446004':
  Don't wipe device because of short PIN, patterns or passwords
2015-08-03 20:33:00 +00:00
Jim Miller
51e3a672e0 Don't wipe device because of short PIN, patterns or passwords
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-08-03 19:36:24 +00:00
Jorim Jaggi
0a7844db40 am 703dc46e: am f1518da4: Fix fingerprint icon screen on animation
* commit '703dc46ebf38bc1211524a4afb67ffdfbba7c6ec':
  Fix fingerprint icon screen on animation
2015-08-01 16:52:08 +00:00
Jorim Jaggi
703dc46ebf am f1518da4: Fix fingerprint icon screen on animation
* commit 'f1518da4512dcf350fd808a5288634f534bca1bb':
  Fix fingerprint icon screen on animation
2015-08-01 16:34:09 +00:00
Geoff Mendal
2f8e387b01 Import translations. DO NOT MERGE
Change-Id: I067b513b8b2344bd2f8ee9960ddcc5000e7173c3
Auto-generated-cl: translation import
2015-07-31 20:34:13 -07:00
Jorim Jaggi
f1518da451 Fix fingerprint icon screen on animation
Bug: 22807015
Change-Id: I4685085007d87f1b1e1db380d0f899efc4e56240
2015-07-31 19:31:16 +00:00
Jim Miller
ea5de59e43 am e9338ac3: am be869b66: am 30c5da9c: Don\'t call cancel() when fingerprint auth fails
* commit 'e9338ac35aad34a2b882d73a0f9ca40558057f34':
  Don't call cancel() when fingerprint auth fails
2015-07-30 05:08:13 +00:00
Jim Miller
e9338ac35a am be869b66: am 30c5da9c: Don\'t call cancel() when fingerprint auth fails
* commit 'be869b667142d3dc8723f19951b4d6ba2c055b24':
  Don't call cancel() when fingerprint auth fails
2015-07-30 04:55:59 +00:00
Jim Miller
be869b6671 am 30c5da9c: Don\'t call cancel() when fingerprint auth fails
* commit '30c5da9cc20cc4b9ce820963c6f58d7826f46eaa':
  Don't call cancel() when fingerprint auth fails
2015-07-30 04:44:20 +00:00
Jim Miller
30c5da9cc2 Don't call cancel() when fingerprint auth fails
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
2015-07-30 04:31:37 +00:00
Adrian Roos
bb8326d0cc am f03ad443: am f65209d8: am e2cd8419: Merge "Fix pattern lock for accessibility" into mnc-dev
* commit 'f03ad4438323b866fc465e3f2a425c266cdacdf3':
  Fix pattern lock for accessibility
2015-07-29 22:04:00 +00:00
Adrian Roos
f03ad44383 am f65209d8: am e2cd8419: Merge "Fix pattern lock for accessibility" into mnc-dev
* commit 'f65209d8082ca1251996021ddf0b227f0c08f56f':
  Fix pattern lock for accessibility
2015-07-29 21:52:08 +00:00
Adrian Roos
f65209d808 am e2cd8419: Merge "Fix pattern lock for accessibility" into mnc-dev
* commit 'e2cd84196e1266200f906b5d721640217fc2e6f9':
  Fix pattern lock for accessibility
2015-07-29 21:37:08 +00:00
Adrian Roos
e2cd84196e Merge "Fix pattern lock for accessibility" into mnc-dev 2015-07-29 21:23:25 +00:00
Adrian Roos
d2def94639 Fix pattern lock for accessibility
- 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
2015-07-29 14:13:53 -07:00
Geoff Mendal
f5016cd7f5 Import translations. DO NOT MERGE
Change-Id: Ief1b2813d780945621684d6d58403feac34fa498
Auto-generated-cl: translation import
2015-07-29 06:43:43 -07:00
Jorim Jaggi
ce58fa9593 am fed9b281: am 353fe1c6: am 0d210f63: Animation for touch, wake and unlock
* commit 'fed9b2817ffec229baed7c7ea378fae98254b4dd':
  Animation for touch, wake and unlock
2015-07-29 00:07:24 +00:00
Jorim Jaggi
fed9b2817f am 353fe1c6: am 0d210f63: Animation for touch, wake and unlock
* commit '353fe1c665e0065d4c8eecdf41c22f1a1a607f2c':
  Animation for touch, wake and unlock
2015-07-28 23:43:46 +00:00
Jorim Jaggi
353fe1c665 am 0d210f63: Animation for touch, wake and unlock
* commit '0d210f6395072db4a4c53d4cb8fac4a59a3965b4':
  Animation for touch, wake and unlock
2015-07-28 23:19:39 +00:00
Jorim Jaggi
0d210f6395 Animation for touch, wake and unlock
- 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
2015-07-28 23:02:54 +00:00
Jorim Jaggi
04f61ee85d am f040100c: am 6a601960: am 9e49b5d6: Merge "Move PIN/Pattern appear animation to RenderThread (1/2)" into mnc-dev
* commit 'f040100cbde4b551dd551a8b0b9eb7194116a95b':
  Move PIN/Pattern appear animation to RenderThread (1/2)
2015-07-27 19:48:37 +00:00
Jorim Jaggi
f040100cbd am 6a601960: am 9e49b5d6: Merge "Move PIN/Pattern appear animation to RenderThread (1/2)" into mnc-dev
* commit '6a601960a3cbfbed1f0ac6df65791a3149eec92e':
  Move PIN/Pattern appear animation to RenderThread (1/2)
2015-07-27 19:35:06 +00:00
Jorim Jaggi
6a601960a3 am 9e49b5d6: Merge "Move PIN/Pattern appear animation to RenderThread (1/2)" into mnc-dev
* commit '9e49b5d679672ea4a64382f9a36663c73603961b':
  Move PIN/Pattern appear animation to RenderThread (1/2)
2015-07-27 19:18:37 +00:00
Jorim Jaggi
9e49b5d679 Merge "Move PIN/Pattern appear animation to RenderThread (1/2)" into mnc-dev 2015-07-27 18:55:29 +00:00
Selim Cinek
e756d912fe am d2e40fab: am 8588b331: am f8acd1d8: Merge "Adapted the behavior when unlocking with fingerprint is not allowed" into mnc-dev
* commit 'd2e40fabcaddb9c32e0ddaaea8f45519a7d810d5':
  Adapted the behavior when unlocking with fingerprint is not allowed
2015-07-25 16:14:11 +00:00
Adrian Roos
68db46ffde am 4fd4f4b4: am 047b2bfd: am 384b5d20: am a65de4fd: am b2f8c716: am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI
* commit '4fd4f4b476a085942c44259cdb1317f30077e804':
  Prevent insanely long passwords from crashing SystemUI
2015-07-25 16:13:59 +00:00
Selim Cinek
d2e40fabca am 8588b331: am f8acd1d8: Merge "Adapted the behavior when unlocking with fingerprint is not allowed" into mnc-dev
* commit '8588b3317c848e93998616c981f8c997197b4222':
  Adapted the behavior when unlocking with fingerprint is not allowed
2015-07-25 15:53:57 +00:00
Adrian Roos
4fd4f4b476 am 047b2bfd: am 384b5d20: am a65de4fd: am b2f8c716: am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI
* commit '047b2bfd4fe19174ae3d8c79cd3767642d33f4ba':
  Prevent insanely long passwords from crashing SystemUI
2015-07-25 15:53:45 +00:00
Selim Cinek
8588b3317c am f8acd1d8: Merge "Adapted the behavior when unlocking with fingerprint is not allowed" into mnc-dev
* commit 'f8acd1d8d698f367bc267699a0a84c21f7c7d548':
  Adapted the behavior when unlocking with fingerprint is not allowed
2015-07-25 00:59:57 +00:00
Adrian Roos
047b2bfd4f am 384b5d20: am a65de4fd: am b2f8c716: am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI
* commit '384b5d20b64c279f29eb494bae37d039c652f492':
  Prevent insanely long passwords from crashing SystemUI
2015-07-25 00:59:17 +00:00
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
2f1220c419 am 2237c32f: am 58adc7ad: Merge "Send BATTERY_CHANGED if maxChargingCurrent changes" into mnc-dr-dev
* commit '2237c32fe1dfcd13056970ff987ee92326aee5c1':
  Send BATTERY_CHANGED if maxChargingCurrent changes
2015-07-23 19:48:51 +00:00
Adrian Roos
2237c32fe1 am 58adc7ad: Merge "Send BATTERY_CHANGED if maxChargingCurrent changes" into mnc-dr-dev
* commit '58adc7ad48990f2ffa0d4858bd6910dd9eb6aabc':
  Send BATTERY_CHANGED if maxChargingCurrent changes
2015-07-23 19:21:24 +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
58adc7ad48 Merge "Send BATTERY_CHANGED if maxChargingCurrent changes" into mnc-dr-dev 2015-07-22 23:22:42 +00:00
Jorim Jaggi
613f55fbbb Move PIN/Pattern appear animation to RenderThread (1/2)
Bug: 22205322
Change-Id: I253f20a397ab89cb78254338a0254619232d7300
2015-07-22 15:23:52 -07:00
Adrian Roos
9b6a609914 Prevent insanely long passwords from crashing SystemUI
Bug: 22214934
Change-Id: I32e238e53ac4b6dd0ae6de226b98894c495b256f
2015-07-22 22:10:57 +00:00
Geoff Mendal
7f722ede33 Import translations. DO NOT MERGE
Change-Id: I064668ffb91d718c0981ecd0f221e5f3b0d364d7
Auto-generated-cl: translation import
2015-07-22 06:50:26 -07:00
Adrian Roos
76dc5a51cd Send BATTERY_CHANGED if maxChargingCurrent changes
Fixes a bug where the charging current on Keyguard was stale
on devices that don't immediately set the charging current.

Follow-up to I2e5c21dd7ec028ce47fb03ab71e74f7fccaa9e36

Bug: 8099739
Change-Id: I4b5b3b1231b1372310206941386dba743d5f88f4
2015-07-21 16:20:39 -07: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
Geoff Mendal
653b913270 Import translations. DO NOT MERGE
Change-Id: I63f59410a8081aaf9678e9d318ba308c259e1254
Auto-generated-cl: translation import
2015-07-20 06:54:33 -07:00
Selim Cinek
d8a090e7c6 am 4b385459: am 2a10ff08: am 60e15dae: Merge "Fixed a bug where a fingerprint animation was not running" into mnc-dev
* commit '4b3854594548de9fc5175f94f09d028123fba05d':
  Fixed a bug where a fingerprint animation was not running
2015-07-17 02:09:33 +00:00