1136 Commits

Author SHA1 Message Date
Jorim Jaggi
6a587acd1d Merge "Fix fingerprint for multiuser" into mnc-dev 2015-05-14 00:36:03 +00:00
Jorim Jaggi
aa4d32add7 Fix fingerprint for multiuser
Change-Id: Iab18c4de9764da1a65490b186b33535f8e79e1e5
2015-05-13 16:35:56 -07:00
Jorim Jaggi
ee77cebc1a Persist fingerprint names
Bug: 20469328
Change-Id: I8f4a988687bfb78c36cc7cf187103a9d93ed4535
2015-05-13 13:25:26 -07:00
Xiyuan Xia
55e603ee9d Merge "Make PIN/Password/Pattern check async" into mnc-dev 2015-05-12 22:08:10 +00:00
Xiyuan Xia
6e38058908 Make PIN/Password/Pattern check async
- Add LockPatternChecker to support async security check;
- Migrate Keyguard UI to use the async check;

Bug: 20697812
Change-Id: I77002a12931feb17cc20923d7c917b3e37f2cd31
2015-05-12 12:42:38 -07:00
Geoff Mendal
5851438476 Import translations. DO NOT MERGE
Change-Id: Ia8e10381534c60257e959e7d0eaf02deb0097142
Auto-generated-cl: translation import
2015-05-11 06:17:31 -07:00
Siva Velusamy
94a6d15ede Use new hierarchy viewer protocol in all View subclasses
A previous CL introduced a new way of encoding view properties for
use by heirarchy viewer. This CL updates all views using the old
@ExportedProperty annotation to use this new method. The older
mechanism will be removed in a subsequent CL.

Change-Id: I6cc23b90cd9da1c6ce89b4caffe54874db203452
2015-05-07 18:44:21 -07:00
Seigo Nonaka
14e139179b Retry "Always show auxiliary subtypes from NavBar keyboard icon."
This CL relands I1e50ee42838a1bf64a612da4904aa93458d44ea4, which was
reverted by I3decaf37198e5864a1763a059df4a36ebc70c5a7 due to the build
breakage in 'layoutlib' target, with a proper fix.

Hereafter the original CL description is repeated.

The auxiliary subtypes should be listed if the input method picker is
opened from NavBar keyboard icon.  However there is only
IMM#showInputMethodPicker() API to open input method picker and this is
also used from LockScreen or Settings UI.  Auxiliary subtypes should not
be listed there(Id7cf5d122).  Thus framework shows auxiliary subtypes
based on IMMS#mInputShown and LockScreen state, but it is not a perfect
solution.  If a physical keyboard is connected, the soft input may be
gone.  As the result, auxiliary subtypes won't be listed even if it is
opened from NavBar keyboard icon.

To fix this issue, this CL introduces IMM#showInputMethodPicker(boolean)
to be able to decide showing auxiliary subtypes by caller.
Note that IMM#showInputMethodPicker(boolean) is still hidden with @hide.
There is no public API change in this CL.

Bug: 20763994
Change-Id: Id156c85535a221235737ea6dcc15a67f1c4b9f71
2015-05-06 21:34:07 -07:00
Bart Sears
1b0888fe8e Merge "Revert "Always show auxiliary subtypes from NavBar keyboard icon."" into mnc-dev 2015-05-07 01:52:08 +00:00
Bart Sears
d130bdc462 Revert "Always show auxiliary subtypes from NavBar keyboard icon."
CL is breaking the build.  Discussed with Seigo and verting until he can take a look at it.

This reverts commit 80ff4ed6bb8dbdad7192d679a01096aa888e090b.

Change-Id: I3decaf37198e5864a1763a059df4a36ebc70c5a7
2015-05-07 01:51:28 +00:00
Seigo Nonaka
06bdf9c6a6 Merge "Always show auxiliary subtypes from NavBar keyboard icon." into mnc-dev 2015-05-06 20:31:19 +00:00
Seigo Nonaka
80ff4ed6bb Always show auxiliary subtypes from NavBar keyboard icon.
The auxiliary subtypes should be listed if the input method picker is
opened from NavBar keyboard icon.  However there is only
IMM#showInputMethodPicker() API to open input method picker and this is
also used from LockScreen or Settings UI.  Auxiliary subtypes should not
be listed there(Id7cf5d122).  Thus framework shows auxiliary subtypes
based on IMMS#mInputShown and LockScreen state, but it is not a perfect
solution.  If a physical keyboard is connected, the soft input may be
gone.  As the result, auxiliary subtypes won't be listed even if it is
opened from NavBar keyboard icon.

To fix this issue, this CL introduces IMM#showInputMethodPicker(boolean)
to be able to decide showing auxiliary subtypes by caller.
Note that IMM#showInputMethodPicker(boolean) is still hidden with @hide.
There is no public API change in this CL.

Bug: 20763994

Change-Id: I1e50ee42838a1bf64a612da4904aa93458d44ea4
2015-05-06 20:29:05 +00:00
Brian Colonna
0fb5aa656e Merge "Removed unused Face Unlock string" into mnc-dev 2015-05-06 14:37:23 +00:00
Jorim Jaggi
570de1e0e9 Make sure fingerprint error messages are handled in Keyguard
Change-Id: I332c08c5e94cf58a2d3f696860511c1a84fecda5
2015-05-05 21:44:11 +00:00
Jorim Jaggi
237b061182 Only enable fingerprint auth after first regular auth
- Add method hasUserAuthenticatedSinceBoot to TrustManagerService
- Use this information to only enable fingerprint auth after the user
has at least once authenticated with his regular authentication
method.

Change-Id: Icf073ac3b340d557b044f6bf27f1a7f8511048e2
2015-05-05 11:43:42 -07:00
Prerepa Viswanadham
d1808401ca Merge changes from topic 'mwd-merge-050415' into mnc-dev
* changes:
  Merge commit 'b6f59f4' into master_merge
  Merge commit 'f6db0ce' into master_merge
  Merge commit '17455a3' into master_merge
  Merge commit 'b4d5b32' into master_merge
  Merge commit 'a1a2fa7' into master_merge
  Merge commit '8dfdb98' into master_merge
  Merge commit 'eba66c3' into master_merge
2015-05-05 01:06:38 +00:00
Jorim Jaggi
76511c75e6 Update emergency call button label when language changes
Bug: 17987231
Change-Id: I74fe6942f4ff965537803d61f3446d5f28a60f9e
2015-05-04 23:46:56 +00:00
Jorim Jaggi
9f74303eb8 Track unlock attempts per user.
Bug: 19330825
Change-Id: I3e09f676b945dbeee16dc0fb3cb126cb884a6934
2015-05-04 23:44:15 +00:00
Brian Colonna
98d67dbeb3 Removed unused Face Unlock string
I was checking to make sure dead Face Unlock code has been removed from
keyguard.  The only remaining thing I found was this unused string.

Bug: 16139545

Change-Id: Ib20ebb0ea66f53f3b10545b6e474c46f138f2021
2015-05-01 11:10:52 -04:00
Jorim Jaggi
47294cbd52 am 5da89e17: am 463444fb: am 420f2688: Merge "Only listen for fingerprint if needed." into mnc-dev
* commit '5da89e17ec59ed9dbe238a0b8f160e4cdfda5664':
  Only listen for fingerprint if needed.
2015-04-29 02:24:35 +00:00
Adrian Roos
143716b3a8 am 66c6d0e2: am 5fb269e4: am 59a1e117: Merge changes from topic \'roosa-lpu\' into mnc-dev
* commit '66c6d0e266719bbae994a469f247566aaf9fc64e':
  Remove LockPatternUtils.getCurrentUser()
  Require explicit userId in LockPatternUtils
2015-04-29 02:24:03 +00:00
Jorim Jaggi
420f2688f0 Merge "Only listen for fingerprint if needed." into mnc-dev 2015-04-28 23:01:51 +00:00
Jorim Jaggi
ea65706d89 Only listen for fingerprint if needed.
Clean up fingerprint listening lifecycle. Only listen for fingerprint
if both screen is turned on and Keyguard is actually showing
(not occluded).

Change-Id: I169ce9df308b96487ed9dc5c8ad8f1c301f2ef93
2015-04-28 13:46:37 -07:00
Adrian Roos
d6aa6cb0cc Remove LockPatternUtils.getCurrentUser()
Bug: 18931518
Change-Id: I177eefe466c12217cf64c85b872f71bc23c7bf05
2015-04-28 11:49:04 -07:00
Adrian Roos
8150d2a2a1 Require explicit userId in LockPatternUtils
Bug: 18931518
Change-Id: Ib03f37df9135f0324a998c62d165d8eea46328c8
2015-04-28 11:49:00 -07:00
Geoff Mendal
ebee67d203 Import translations. DO NOT MERGE
Change-Id: I8ddf6d76bd22e40e63a204292059236ac52dd5b5
Auto-generated-cl: translation import
2015-04-27 05:51:42 -07:00
Sanket Padawe
b8726b7002 Don't show two identical carrier names.
Multi-sim device would show 2 PLMN in status bar even if they are same.

Bug: 19710990
Change-Id: I07ba5cbf82d4cc99bb7be644cc1e95c525bcfb8b
2015-04-23 10:06:04 -07:00
Geoff Mendal
fb13b1a25d Import translations. DO NOT MERGE
Change-Id: Ic171492db55349ae11e8c83cee37f53c1bf1f349
Auto-generated-cl: translation import
2015-04-22 05:39:05 -07:00
Adrian Roos
0ab5742cf7 Clear emergency dialer task on launch
Bug: 20344056
Change-Id: Ic26f003acad3f9f91d772e5b4be8bd4b8aff5ec8
2015-04-21 12:35:11 -07:00
Thiemo Nagel
116387c632 Remove unsed failedAttemptWarning in reportFailedUnlockAttempt().
Change-Id: I6ca76f6ebe84e04f84161c7fc06d1e2443f7bbfe
2015-04-20 16:50:38 +02:00
Geoff Mendal
04d8165ddc Import translations. DO NOT MERGE
Change-Id: I30e078fe1a9ea0fe645597d9dc93172f301322e9
Auto-generated-cl: translation import
2015-04-17 20:39:13 -07:00
Adrian Roos
94e15a59b7 Allow dismissing Keyguard from TrustAgentService
Bug: 19900313
Change-Id: I44d13ee6fe65070327076e73a3ed96c94acdc108
2015-04-17 01:12:30 +00:00
Jorim Jaggi
2aad7ee245 More fingerprint API's for 3rd party apps
- Make isHardwareAvailable public
- Add hasEnrolledFingerprints so apps can check whether to show
fingerprint UI or not.

Change-Id: Iaefd5e9e68bf3bee8305574dc1477ea9bc72b30a
2015-04-15 14:55:43 -07:00
Geoff Mendal
abe227efc0 Import translations. DO NOT MERGE
Change-Id: Ia143e1bd7c7cee3497b8ea298dc8286147da8bbd
Auto-generated-cl: translation import
2015-04-15 05:33:25 -07:00
Jorim Jaggi
7caa691652 Merge "Fix fingerprint API for 3rd party apps" 2015-04-14 21:12:27 +00:00
Jorim Jaggi
ccdfa93f60 Fix fingerprint API for 3rd party apps
Change-Id: Id68d04b4deef9940a683d2b40f1db231845b00e3
2015-04-14 14:02:16 -07:00
Adrian Roos
4b825c0781 Merge "Actually relabel emergency affordance" 2015-04-13 23:10:48 +00:00
Adrian Roos
7a1091f23f Actually relabel emergency affordance
Bug: 19574098
Change-Id: Icf1b4b85ef74e927bdc970fb88c56bfe6dab47d0
2015-04-13 15:42:48 -07:00
Kenny Guy
e13b15c810 Merge "Add foreground profile changed to user switch observer." 2015-04-13 18:36:23 +00:00
Kenny Guy
429796226a Add foreground profile changed to user switch observer.
Called when the focused activity changes from one profile
to another to allow sys ui to vary display based on the
current profile.
This reverts commit 735a3f90598be31bca5d551d781280a205a5f27f.
Resubmitting with fix for build break in another package.

Bug: 19531782
Change-Id: I98cd2968ade3b1d23feb90d98057f306695d569e
2015-04-13 18:03:05 +00:00
Kenny Guy
48a09a0678 Merge "Revert "Add foreground profile changed to user switch observer."" 2015-04-13 16:13:33 +00:00
Kenny Guy
735a3f9059 Revert "Add foreground profile changed to user switch observer."
This reverts commit 99b9030a3ececd9b88e5011c98be0a5b9499c776.

Change-Id: If152904f298ecd9e6fd5d038797d061a5c85eec8
2015-04-13 16:12:55 +00:00
Kenny Guy
d10bd48522 Merge "Add foreground profile changed to user switch observer." 2015-04-13 14:41:37 +00:00
Geoff Mendal
0b2264de87 Import translations. DO NOT MERGE
Change-Id: Ib690eecfcb1e45a9753a606fafda8ef85a2b0b6b
Auto-generated-cl: translation import
2015-04-13 05:38:00 -07:00
Jim Miller
ce7eb6daf0 Clean up FingerprintManager API and make it public.
Change-Id: I6a99dccd485c053cb47dbd0ec08b41a2dc5b17c8
2015-04-11 12:34:56 -07:00
Geoff Mendal
4f6c8f91ac Import translations. DO NOT MERGE
Change-Id: I6c5f88b8d34fba331ba0c8964abfcc2546f39206
Auto-generated-cl: translation import
2015-04-10 23:12:02 -07:00
Jorim Jaggi
27c9b74350 Keyguard FP UX update
- Add scanning and error states to UI.
- Do not delay dismissing the panel when authenticating via
fingerprint.

Change-Id: I82e71c554c56e53ddf0677dca3e6909f7cedd59d
2015-04-10 14:43:08 -07:00
Kenny Guy
99b9030a3e Add foreground profile changed to user switch observer.
Called when the focused activity changes from one profile
to another to allow sys ui to vary display based on the
current profile.

Bug: 19531782
Change-Id: I1f98398f4b37ce77077394546906ef4dff06cd47
2015-04-10 13:51:12 +01:00
Adrian Roos
a323e3f336 Merge "Relabel emergency button" 2015-04-08 16:58:58 +00:00
Adrian Roos
a41d5a7a35 Relabel emergency button
Bug: 19574098
Change-Id: Iddf96ba2206838712980aea00c9ea304f590c8b3
2015-04-08 18:56:38 +02:00