1502 Commits

Author SHA1 Message Date
Bill Yi
84ba684a6b Import translations. DO NOT MERGE
Change-Id: Ic8c6b11898eaccb7327492bbf5d1aaff9070f135
Auto-generated-cl: translation import
2016-04-25 04:54:12 -07:00
Baligh Uddin
79bf7eac1b Import translations. DO NOT MERGE
Change-Id: I8c49c19931631bbb8d84f1a5f121f8d3e4781f0a
Auto-generated-cl: translation import
2016-04-14 19:08:44 -07:00
Adrian Roos
d6d253a5a1 Improved trust error messaging (2/2)
More detailed reason strings when trust or
fingerprint are not allowed.

Bug: 22704995
Change-Id: Ia9e22378d3fc0f5fb42e32adc789e313c3a2beb3
2016-04-13 13:17:57 -07:00
Bill Yi
c0b41f4be4 Import translations. DO NOT MERGE
Change-Id: I08c2a94ddbcc4aea0a5e5ef8a1e54cc0fda4ca4f
Auto-generated-cl: translation import
2016-04-09 04:11:44 -07:00
Evan Rosky
22d1201c39 Fixed PIN entry detecting gravity improperly
Bug: 28061319
Change-Id: I289584765203892b7dbac4220b515445b821d621
2016-04-07 14:34:37 -07:00
Evan Rosky
9042750788 Added padding and gravity support to PIN entry
Also made it more customizable via attributes

Bug: 25184308
Change-Id: I3cfd48b6bb964ea8db1539586ed70343fda5e40a
2016-04-06 16:35:25 +00:00
Toni Barzic
79675b326c Teach keyguard about PASSWORD_QUALITY_MANAGED
PASSWORD_QUALITY_MANAGED should have password security mode,
rather than None.

BUG=27923581

Change-Id: I6b2aeee0a79a37a868d7d30117c77f73495892ad
2016-03-30 17:23:50 -07:00
Evan Rosky
eff74b48a8 Make part of KeyguardSecurityContainer protected
In order to apply different styling to security methods,
we need getLayoutIdFor() to be protected instead of private.

Change-Id: Icc92240eec763c910ef334c22ff4b92fcdd83fe8
2016-03-29 23:55:52 +00:00
Bill Yi
5564dc14d4 Import translations. DO NOT MERGE
Change-Id: Idba908d9f62c1052034a89f2ff6979d47248fee9
Auto-generated-cl: translation import
2016-03-25 19:32:21 -07:00
Geoff Mendal
0164619095 Import translations. DO NOT MERGE
Change-Id: Idaa94a612de604c1e7178359a12ccab87ff154ce
Auto-generated-cl: translation import
2016-03-23 07:23:18 -07:00
Abodunrinwa Toki
b4b2b431d8 Update A11y IME switch button content description.
Bug: 27676215
Change-Id: I563b0b422e0f3a751db1280be91500b08c0e1ff7
2016-03-21 16:14:10 +00:00
Geoff Mendal
66c0fc4538 Import translations. DO NOT MERGE
Change-Id: Iaace4ef8cad2199fb6bcb50e78acf305facb09f4
Auto-generated-cl: translation import
2016-03-19 13:58:03 +05:30
Jeff Sharkey
8a372a0a28 Refactoring FBE APIs based on council feedback.
Mostly consists of removing the word "encryption" from most APIs,
since we can't actually make promises about the data being encrypted.

Bug: 27531029
Change-Id: Iace9d7c4e64716abf86ed11847c40f3947e1d625
2016-03-17 14:49:08 -06:00
Ian Pedowitz
358e51f3d1 Revert "Permissions: Get rid of GET_ACCOUNTS"
This reverts commit d39600585bcb720d739ef6f0091066e3d4f77765.

Bug: 27665091
Change-Id: I7d017ba7062ac594225229436d2877c7d21fb065
2016-03-15 17:08:27 +00:00
Carlos Valdivia
d39600585b Permissions: Get rid of GET_ACCOUNTS
Second attempt. Still need to add strict mode violation checks and
logging.

Bug: 21901286

This reverts commit bf33bd4d31cfec895c96990525b0cb856407c8d6.

Change-Id: I5d73343544c32ce4fc4c377ba44db8e677a1287d
2016-03-13 17:13:54 -07:00
Adrian Roos
569edb8512 Log bouncer prompt reason
Bug: 27434873
Change-Id: I6918507b66506cf95b20f95fe4a5cb19c899122f
2016-03-04 15:13:28 -08:00
Selim Cinek
f1015dbe97 Adapted the lockscreen style
It's that time of the release again.

Bug: 24866646
Change-Id: Iebfae2f2cc6b5a21b7b98df359de2247b2bc8632
2016-02-23 17:56:22 -08:00
Selim Cinek
2854019979 Fixed the usage of the menu key to unlock
The menu key was not unlocking the keyguard properly
and didn't hide the notifications.

Bug: 26539875
Change-Id: I9dd89767f00d29c15d1d4e840a1ab22d59e58c8d
2016-02-22 15:57:02 -08:00
Selim Cinek
ce2bd0fac7 Fixed a bug where the numpad wasn't working correctly
Also accepting the enter key now from the numpad as a
confirm key.

Bug: 27108451
Change-Id: I63dbd4b6cad3d2dce74e297dcb7abad9c5e66cbe
2016-02-22 15:57:02 -08:00
Geoff Mendal
8b086bc92e Import translations. DO NOT MERGE
Change-Id: Ie886d9dc699d739dc174690080dbbaeb7368c135
Auto-generated-cl: translation import
2016-02-03 05:46:15 -08:00
Michal Karpinski
bc0ce99043 Merge "Logging of keyguard actions into security log" 2016-01-28 11:47:23 +00:00
Michal Karpinski
31502d3d95 Logging of keyguard actions into security log
Bug: 22860162
Change-Id: I7dbe68fff7d9d45b6c417d960cf025c8d0694917
2016-01-28 11:07:56 +00:00
Chris Wren
f6e9228b8a move framework metrics over to new proto
Change-Id: Ie46e946dc787350c15c10aa4385a6b7df7e181a8
2016-01-27 13:47:40 -05:00
Rakesh Iyer
a7aa4d6f0b Allow smart unlock right after boot.
This change enables relaxing the constraint by which
strong authentication is needed after device reboot.

There are very limited use cases where this might be
safe, one of which is in a car. Cars head units usually
are protected physically by the car and have hardware
anti-theft mechanisms so we can potentially allow for
Android to allow users to use smart unlock to avoid the
lockscreen just after boot.

This change adds in a config flag that sets the default
trust flags, which can be set to allow smart unlock after
boot for car head units.

Bug: 26559008
Change-Id: Id6338a97b617ddaf3d2fae5d51235429a42b81cc
2016-01-26 15:57:29 -08:00
Adrian Roos
c13723f22e Improved trust error messaging (1/2)
Tracks why trust agents are disabled and shows
a generic message on the keyguard. Dedicated strings
in follow-up.

Bug: 22704995
Change-Id: Ibb4fd9c9386c4dc12f0734004502b9a9cc6ded79
2016-01-25 08:04:42 -08:00
Michal Karpinski
779aad942f Logging of unlock attempts and device locking to security log
Bug: 22860162
Change-Id: Ice18a8f655030e52ae2d9e256b6120e5f87950c5
2016-01-22 11:15:34 +00:00
Geoff Mendal
bd6271b387 Import translations. DO NOT MERGE
Change-Id: I3371283894fbb78d558250fbffa426f147c99b2b
Auto-generated-cl: translation import
2016-01-20 05:43:48 -08:00
Geoff Mendal
957293e30b Import translations. DO NOT MERGE
Change-Id: I37ead402c3e0ed5f172302abb7184fe232e4fbb6
Auto-generated-cl: translation import
2016-01-18 05:46:44 -08:00
Xiyuan Xia
ee9ca3cde7 Merge "Fix a race condition during async credential check" 2016-01-13 22:32:21 +00:00
Adrian Roos
acc11c0701 Improve bouncer restart prompt message
Bug: 26325366
Change-Id: I21ce92b763417f8f9cef571ceab840db71224bb7
2016-01-13 13:06:39 +00:00
Xiyuan Xia
ce64cea383 Fix a race condition during async credential check
Do not dismiss keyguard if KeyguardUpdateMonitor.getCurrentUser() is
changed during the async credential check.

Bug:26415736
Change-Id: Id7e04c7100e0920fe86fe006840928a936f62dd8
2016-01-12 16:16:53 -08:00
Geoff Mendal
ee49fb5089 Import translations. DO NOT MERGE
Change-Id: Ie9892490fa6ef1d6d531cafc34e8edc816b38a2f
Auto-generated-cl: translation import
2015-12-21 05:39:40 -08:00
Adam Lesinski
906fd73e11 Merge "Fix positional arguments in strings" 2015-12-16 23:02:16 +00:00
Adam Lesinski
cf982aa2e3 Fix positional arguments in strings
Change-Id: Id5768adba6b0422b5bb81e800a32be19db2a8626
2015-12-16 14:35:37 -08:00
Geoff Mendal
71dc9e649e Import translations. DO NOT MERGE
Change-Id: Id4a6dcb82bd702595378f563a79fd4088faa6b73
Auto-generated-cl: translation import
2015-12-16 05:45:15 -08:00
Geoff Mendal
14a7c8968f Import translations. DO NOT MERGE
Change-Id: I12a72b6ba0efbce0bf7e89489e277c03463fe6d5
Auto-generated-cl: translation import
2015-12-11 18:46:29 -08:00
Adrian Roos
eaf95c3643 Merge "Charging speed based on voltage" into mnc-dr2-dev am: 0ede75507c
am: 82cfaa813b

* commit '82cfaa813b994ff1e5aaedbdfeeb4ced6e5dfcdb':
  Charging speed based on voltage
2015-12-02 01:58:50 +00:00
Adrian Roos
0c859ae9c7 Charging speed based on voltage
Also takes into account the voltage
at which we charge to make speeds
at different voltages comparable.

Bug: 25229483
Change-Id: I62a192932a013036585cd9fc870808debceac0d3
2015-11-23 17:36:06 -08:00
Geoff Mendal
f905b16c71 Import translations. DO NOT MERGE
Change-Id: Ib120f1b756f35c5e144e4b35a2eae6445ccdced3
Auto-generated-cl: translation import
2015-11-16 05:31:02 -08:00
Andrei Stingaceanu
04e245b152 Wire in the device owner info into the KeyguardStatusView
Display the device owner information if it has been provisioned by
DPC via DevicePolicyManager, else fallback into displaying the
current user owner information (if set).

Change-Id: Ie915d6669ecac06bfa7b57079b9dcd0fac56df57
2015-11-12 18:08:12 +00:00
Jeff Sharkey
f9fc6d6cc0 More file-based encryption work.
Add granular StorageManager APIs for key creation/destruction and
unlocking/locking.  Start passing through an opaque token as part
of the unlock command, but leave it empty for now.  We now have a
separate "prepare" method that sanity checks that user directories
are correctly setup.

Define a handful of system properties used for marking devices that
should be operating in FBE mode, and if they're emulating FBE.  Wire
a command to "sm", but persisting will come later.

Start using new "encryptionAware" flag on apps previously marked with
coreApp flag, which were apps running in the legacy CryptKeeper
model.  Small tweaks to handle non-encryptionAware voice interaction
services.  Switch PackageManager to consult StorageManager about the
unlocked state of a user.

Bug: 22358539
Change-Id: Ic2865f9b81c10ea39369c441422f7427a3c3c3d6
2015-11-11 10:47:23 -08:00
Geoff Mendal
f3fd6c0e13 Import translations. DO NOT MERGE
Change-Id: Ie8815b96b223656f98372f830409837795c45766
Auto-generated-cl: translation import
2015-11-11 05:34:54 -08:00
Geoff Mendal
6b0486a6b5 Import translations. DO NOT MERGE
Change-Id: Idace066b891d2ef54c18e1421368bcc5c6fd0fa1
Auto-generated-cl: translation import
2015-11-09 05:39:52 -08:00
Jim Miller
d72d5ac598 Log fingerprint state in KeyguardUpdateMonitor.
Attempt to track down bug 24508587

Change-Id: Ifb998e2752ec515c36dd302c2abeb1ab27f3a2f3
2015-11-07 00:48:33 +00:00
Geoff Mendal
23f2301b01 Import translations. DO NOT MERGE
Change-Id: I8b90890aff385da901c6a66ac485ddb2560f1cbc
Auto-generated-cl: translation import
2015-11-04 05:40:02 -08:00
Geoff Mendal
10701893a8 Import translations. DO NOT MERGE
Change-Id: I8635097aee86e5c12b142769ec91d8788d800c22
Auto-generated-cl: translation import
2015-10-26 05:50:22 -07:00
Toni Barzic
17fdb13a60 Reset lock pattern stealth mode when keygueard pattern view is reset
Stealth mode is not guaranteed to remain constant through keyguard pattern
view lifetime (it's user specific, and user context may be switched), so
update it when keyguard pattern is reset.

BUG=25017442

Change-Id: I798fe685cfaadd35462f54ab7e4fa9e6f6276436
2015-10-16 13:38:11 -07:00
Jorim Jaggi
aeaddadb0e am 8ba8c543: am b278ea0c: am 27f26df6: am 05b11bf3: Merge "Update message in SIM PIN view when configuration changes" into mnc-dr-dev
* commit '8ba8c543f77eb8d5abad2653c5a6ebaeccc3a241':
  Update message in SIM PIN view when configuration changes
2015-09-24 04:18:01 +00:00
Jorim Jaggi
b278ea0cab am 27f26df6: am 05b11bf3: Merge "Update message in SIM PIN view when configuration changes" into mnc-dr-dev
* commit '27f26df629e7a5c2ea87ad46708dc4678c11d27a':
  Update message in SIM PIN view when configuration changes
2015-09-24 02:29:01 +00:00
Jorim Jaggi
27f26df629 am 05b11bf3: Merge "Update message in SIM PIN view when configuration changes" into mnc-dr-dev
* commit '05b11bf357be9546a2cbdd3f37c32fc9567f4767':
  Update message in SIM PIN view when configuration changes
2015-09-24 02:20:37 +00:00