Commit Graph

110 Commits

Author SHA1 Message Date
Maurice Lam
a3397cbbcc Use different text in fingeprint intro for SUW
Bug: 30681287
Change-Id: Idd03b96c9447523f3128e559be213d89691f4ce1
2016-08-05 12:06:05 -07:00
Maurice Lam
5a15745ff6 Support hardware colors for fingerprint video
Bug: 28745754
Change-Id: Id86c2a6d882d4c4c4d1981da58de3e4c2059a50c
2016-07-18 13:36:59 -07:00
Wonsik Kim
52693ab0aa Refine fingerprint animation handling
Release stale SurfaceTexture and MediaPlayer when necessary.

Bug: 30104155
Change-Id: Ife5ba215fb962522cf007cd711a9329b4202cc39
2016-07-14 11:58:47 +09:00
Maurice Lam
584a11ec4a Update button styles for fingerprint
Use button styles instead of list style because of UX spec change.

Bug: 29421687
Change-Id: Icf178c881c2325b6183de8667a5657b3d2088f72
2016-07-06 18:15:06 +00:00
Ricky Wai
93071a4bc3 Merge "Refresh screenlock UI after password verification failed" into nyc-mr1-dev 2016-06-28 10:36:19 +00:00
Ricky Wai
9aa434cde6 Refresh screenlock UI after password verification failed
Bug: 28314264
Change-Id: Ibd715d70bbee728a887f779a24bb99ad32d8d2ed
2016-06-27 11:10:09 +01:00
Maurice Lam
204af97eb0 Remove setup specific FP find sensor layout
Remove the setup variant layout of fingerprint find sensor, because
the regular one is also GLIF themed, and positions the graphic
correctly.

Bug: 29421687
Change-Id: I20dee43c657434f63e73b5c32eb9a492d6786de5
2016-06-23 20:30:52 -07:00
Andrew Sapperstein
5b66e143cc Update Settings to use DeviceDefault.Settings.
BUG: 28625050

Change-Id: Id283703a309cf27bb284147421614196e903c660
2016-06-21 11:23:39 -07:00
Jason Monk
90bde71e20 resolve merge conflicts of f4ad443 to nyc-mr1-dev
Change-Id: I1d8a3f1cb62ee7d5f39e120c613ae45d495f0fb7
2016-06-15 11:31:14 -04:00
Jason Monk
f01d1d5dcb Make linkify handle emptys urls better DO NOT MERGE
Change-Id: I60029b02e6cda334a8c66ba8453be28b35a818a3
Fixes: 29045818
2016-06-13 13:08:32 -04:00
Maurice Lam
b357e4a81a Update margins to match specs
- Update settings to use GLIF versions for margins and styles
- Removed learn more link from AOSP Fingerprint intro screen because
  it won't have a link to show.

Bug: 28885476
Change-Id: I5d2fd730a1bca2c5da8626da066da3a3f03b4428
2016-05-23 14:51:22 -07:00
Andrew Sapperstein
6561d4870f Null check intent before starting "learn more".
It is possible in certain build configurations to have an invalid
link. Instead of crashing, swallow the error and write to logs.

BUG: 28381984
Change-Id: I19f20b96afb42758187707f1b86a5817e8d737a8
2016-05-03 11:01:35 -07:00
Maurice Lam
190ec1c14a GLIF theme for settings
Update fingerprint and screen lock setup to GLIF theme.

- Screen lock setup while in SUW
- Fingerprint setup, in and out of SUW

Bug: 26427729
Change-Id: I1063d3b54bbeea72de38bcc246cff368bc65945e
2016-04-26 17:20:31 -07:00
Maurice Lam
fd03c3b366 [Fingerprint] Update strings
Update the label for the options in setup to match the flow model of
setup wizard.

Bug: 28219260
Change-Id: Ia975b5fc95c7c82c5ec23a2af5dcdcd9d69bb594
2016-04-19 14:24:17 -07:00
Bernard Chau
88d523bc5c Fixed typos "QuiteMode"
Bug: 28186496
Change-Id: I460509f7fda205711532c290f764d842f07aba49
2016-04-14 15:12:14 +01:00
Ricky Wai
616342bb94 Show "work mode off" dialog when work security option is clicked
Bug: 28158297
Change-Id: I31bc3197d2ff9c95419ea87d009fe7d677181d69
2016-04-13 10:03:31 +00:00
Suprabh Shukla
1d464b9677 Merge "Moving HelpUtils to SettingsLib" into nyc-dev 2016-04-08 19:31:37 +00:00
Ricky Wai
996d0dfa6e Fingerprint should confirm device lock when unified
When unified and adding a fingerprint, the user is prompted to set up
a backup

Bug:27419438
Change-Id: I6cfa8c276ae69a0af51580be390c3da4e9596874
2016-04-07 15:11:14 +00:00
Suprabh Shukla
b84720c075 Moving HelpUtils to SettingsLib
Moved HelpUtils to SettingsLib in frameworks/base so it can be shared by
packageinstaller as well.

Bug: b/22096093
Change-Id: I8d620abcde8279a3b4d11bbcff8ae9b6f46a1895
2016-04-05 14:37:33 -07:00
Maurice Lam
ac6ab03515 Set LinkMovementMethod in LinkTextView
With ag/899084 TextView no longer automatically sets the
LinkMovementMethod when setText is called with a ClickableSpan.
So in LinkTextView we do that manually instead.

Bug: 27973982
Change-Id: I86626bd71bf2ca41cb7e73d479ba764e809b0190
2016-04-01 17:12:10 -07:00
Udam Saini
fd17eb4315 Uses recycler view to add a line at the top in the intro
Also, adjusts the divider insets as appropriate for settings and setup
wizard.

bug:27591940
Change-Id: I7aeefd6d1bfe94c97f686e81bc045d31e878655f
2016-03-11 10:43:06 -08:00
Jim Miller
a9a8a18ac9 Fix crash in fingerprint enrollment due to async transaction
Fixes bug 27424654

Change-Id: I667374330fee00abc2f4ef7f881f8e98fd91567e
2016-03-04 18:22:00 -08:00
Udam Saini
44387d8a62 Fixes talkback accessibility on learn more link.
Uses the LinkTextView, which handles partial url talkback
in textviews for accessibility. Also cleans up some string
spacing and changed an instance of Tap & hold to
Touch and hold for clarity.

bug:27171497
bug:26562712
Change-Id: I059a782a952ac962537c374959ee740962d6016f
2016-02-18 15:45:24 -08:00
Mahaver Chopra
4d2186a9b3 Merge "Fixes for fingerprint profile challenge" into nyc-dev 2016-02-17 10:29:45 +00:00
Mahaver Chopra
a186c8d801 Fixes for fingerprint profile challenge
"Remove all fingerprints?" dialog should only be shown when removing the
last finger print. Fixed.
Changed the Dialog description for the same.

Bug: 26903306
Change-Id: I11b11a9173fa9b09e3fb20bb8a8e7a64594a7d81
2016-02-16 17:27:30 +00:00
Udam Saini
d72e95c366 Fixes autoadvance on find sensor page for fingerprint.
OnStop gets called after an activity behind it on the stack is resumed
when the user pressed the back button on the navigation bar. Because of
this, we need to disable the cancelEnrollment call inside onBackPressed
instead of onStop so that on the find sensor page, the auto next advance
on pressing the fingerprint sensor will still work.

bug:27151472
Change-Id: I1e440f1f7cd91c0711dd31b8bf65a567d4d39f8b
2016-02-12 13:42:18 -08:00
Udam Saini
f21335c6f0 Fixes showing learn more screen from fingerprint intro page
bug:27063484
Change-Id: I2413ddff4953dc171aabbb0e9a6beb2f8d04552f
2016-02-10 12:04:50 -08:00
Udam Saini
779fdcca29 Merge "Reworks lock screen flows." into nyc-dev 2016-02-10 17:54:58 +00:00
Jim Miller
017bdceeb4 Fix crash in Settings on devices without fingerprint.
Fixes bug 27060816

Change-Id: I3b45d3bfa6e47abb4a43ca95c15fd3614f9478dd
2016-02-09 15:15:32 -08:00
Udam Saini
8ef4c62003 Reworks lock screen flows.
This also adds frp warning dialogs in case the user skips lock
screen setup initially.

bug:26880444
Change-Id: I732b6a806e139fb6c1c1b334b8d1608c229f217c
2016-02-09 11:58:12 -08:00
Jim Miller
5947d3517d Fix crash in ConfirmCredentials due to missing fp service.
Fixes bug 27060816

Change-Id: I25fa1ffc65247360f58473f5bc1745abbabb1e33
(cherry picked from commit 0918e5d650)
2016-02-08 20:31:49 +00:00
Jim Miller
eb3b52d411 Merge "Fix crash on devices without fingerprint feature." 2016-02-05 01:41:00 +00:00
Jim Miller
b528b26ea7 Fix crash on devices without fingerprint feature.
Fixes bug 26877020

Change-Id: Ibee4d956beb0ce9af35f01857370c1378ef5594a
2016-02-05 01:14:51 +00:00
Udam Saini
861210c290 Allows user to skip fingerprint during setup
bug:26906231
Change-Id: Ibc73f2dad01b82f93d92a9351693a221cbe8cf6e
2016-02-02 10:49:16 -08:00
Clara Bayarri
f6077f4757 Make Lockscreen Notification Content work for profiles
The settings for the Notification Content is user-dependent
and the correct values are used in the lock screen.

Bug: 26709332
Change-Id: I7acf94014771dacc2841da336bed645fdb948541
2016-01-28 17:54:39 +00:00
Chris Wren
9d1bfd1e8d port settings over to new metrics enum
Change-Id: I0b3efd2f4db773ccbc52bfe59ee8eb0dab9584fb
2016-01-27 10:58:58 -05:00
Clara Bayarri
4f5f7b4f9a Fix Profile Fingerprint Settings to use correct user id
Bug: 26790762
Change-Id: Id813c03041e6e727f535ec63f63ee8b187b06164
2016-01-27 12:46:17 +00:00
Udam Saini
06dc55d6ce Merge "Removes fingerprint onboard screen" 2016-01-27 00:18:41 +00:00
Udam Saini
cce5339da7 Removes fingerprint onboard screen
This screen isn't used anymore. This also fixes some fingerprint
work in setup wizard to use the userId instead.

Change-Id: Icb1debaf7b2766069a53a75eab6152d6b816b03c
2016-01-26 15:48:37 -08:00
Udam Saini
f7853577b1 Merge "Fixes a bug where user couldnt add a new fingerprint" 2016-01-26 23:29:16 +00:00
Udam Saini
72506b61ab Fixes a bug where user couldnt add a new fingerprint
Short term fix as there seems to be more user related that
need to be fixed in here (renaming/deleting fingerprint)
in the fingerprint manager

bug:26799512
Change-Id: I5a5d63b0682095a31eeb4cdf07322a3129b0f343
2016-01-26 15:08:20 -08:00
Sudheer Shanka
a78572cf39 Merge "Update the text shown when admin disabled fingerprint as unlock option." 2016-01-26 22:36:06 +00:00
Clara Bayarri
40db4bbbb5 Profile Challenge Fingerprint Support
Change-Id: Ic83c479f645776dd0678721bfb732b399f09c992
2016-01-26 15:45:37 +00:00
Udam Saini
bf1483c383 Improves flow for fingerprint
This reduces the # of screens, and makes the backup lock choice
for fingerprint more obvious that it is a backup.

bug:26377096
Change-Id: I4e75e1f3302c286587de106bcdf43537bda03390
2016-01-25 09:19:02 -08:00
Sudheer Shanka
5590e2eb44 Update the text shown when admin disabled fingerprint as unlock option.
When the admin has disabled fingerprint as unlock option, we let the
user know that the admin has disabled that option with a more details
link which will trigger the admin support dialog. And made some small
fixes apart from this.

Change-Id: I01021b952dc6fb29a65d37401a6411a6088d5cef
2016-01-25 15:12:07 +00:00
Udam Saini
823cddc068 Fixes alignment for fingerprint animation during setup.
bug:26416907
Change-Id: I4da2166b5079cb97fac4547e720b042b9cbe5ac2
2016-01-14 16:30:49 -08:00
Jim Miller
a9c8cf7bf5 Merge "Auto-advance when fingerprint touch is detected." 2016-01-13 23:37:12 +00:00
Udam Saini
8298b47f00 Fixes animation video from not playing after onStop
Adds a pause command that doesn't destroy the video surface, and calls
onStop when we want to destroy the media player.

bug:26516460
Change-Id: If46d26088e81fdca6a73a663a48901bb5245acc8
2016-01-12 14:43:43 -08:00
Jim Miller
03c3705ae9 Auto-advance when fingerprint touch is detected.
Because there's no way to listen to the fingerprint
sensor without enrolling or authenticating, we start a short
enrollment session to detect first press of a finger to
advance to the next stage.

Change-Id: If242ade8729f34464171cda54deab0922ad85b1d
2016-01-07 19:35:40 -08:00
Jim Miller
931901186a Fix blank animation in "find the sensor" flow for fingerprint.
Fixes bug 26194530

Change-Id: I855b6f12a72c7489fae8fba249c55d4626b4a202
2015-12-14 20:01:42 -08:00