1688 Commits

Author SHA1 Message Date
Jason Monk
23f85ec14d Move Keyguard to SystemUI
Test: make
Change-Id: I3abb67e2b022737d2aa0226bb07f3966ad68fff7
2017-02-10 07:45:58 -08:00
Bill Yi
3bccff9869 Import translations. DO NOT MERGE
Change-Id: Ia2feb848ece3402b9d19d3276f04c8f8af140da8
Auto-generated-cl: translation import
2017-02-06 13:38:43 -08:00
TreeHugger Robot
a2feb80b83 Merge "Strong auth timeout refactor" 2017-01-23 16:37:00 +00:00
Michal Karpinski
e71f583c78 Strong auth timeout refactor
Move timeout scheduling mechanism from KeyguardUpdateMonitor to
LockSettingsStrongAuth.
Move reporting about successful strong auth unlock from
KeyguardUpdateMonitor#reportSuccessfulStrongAuthUnlockAttempt()
to LockSettingsService#doVerifyCredential() - the latter also
covers work challenge strong auth unlocking.

Test: manual with all types of strong and non-strong auth, including work challenge
Bug: 29825955
Change-Id: I38e51b21e3a455b95e3c857e091fe07ee388c7f8
2017-01-23 14:53:56 +00:00
Zachary Iqbal
327323d2b3 Added an onDeviceUnlockLockout callback to TrustAgentService.
Test: Manually tested onDeviceUnlockLockout being called with an actual
TestAgentService implementation.

Notes:
- Active Trust Agents are no longer killed/unbinded from when a temporary
  device lockout occurs. Instead, the onDeviceUnlockLockout callback of
  the agent is called.

Change-Id: Ifa0984d1d7e5153568334d736e9ebd5a00ef1297
Bug: 34198873
2017-01-20 15:55:07 -08:00
Adrian Roos
c934c4349f AoD: Reposition shelf under clock
Bug: 30876804
Test: manual
Change-Id: I9a50ee57d7acef1af866968e67feac7803801a02
2017-01-17 15:44:25 -08:00
Adrian Roos
7907ff244a AoD: Adjust clock layout
Shows the clock without the date. Also stop
hiding the stack scroller in AoD.

Bug: 30876804
Test: manual
Change-Id: I5f2a8e39be7750493dd8dac83641ac0b96082d0e
2017-01-17 15:44:11 -08:00
Roozbeh Pournader
b84a505b62 Rename language+country resources to just language
Bug: 26496609
Test: none
Change-Id: I40b99a8728f1f324f4c1f8066a61c3d5f92b1ac6
2017-01-10 23:51:26 -08:00
Bill Yi
32230c6ef9 Import translations. DO NOT MERGE
Change-Id: I3258f0d63f194f3dbea148e5b4d94483d3fa0514
Auto-generated-cl: translation import
2016-12-29 20:26:33 -08:00
Bill Yi
c91793989f Import translations. DO NOT MERGE
Change-Id: Ic0448c86f29ed5dbd26909f152fb7712da402c57
Auto-generated-cl: translation import
2016-12-21 18:49:21 -08:00
Lingjun Li
19c5e1bae5 Merge "Adding unlockProfile to trust-agent meta data and makes TrustAgent runnable under direct boot" 2016-12-10 00:37:19 +00:00
Lingjun Li
20914d7939 Adding unlockProfile to trust-agent meta data and makes TrustAgent runnable under direct boot
Test: manual
Change-Id: I1f0ccafac08be2cc3f4540232e764ef21d4fed38
2016-12-09 12:33:52 -08:00
Bill Yi
d43dc54f99 Revert "Import translations. DO NOT MERGE"
This reverts commit bed5237cf397deb770031423f2ac4066a07cefbf.

Change-Id: Ic8de4454b39281c21e306bd556c59bfc41610737
2016-12-05 18:59:42 +00:00
Bill Yi
bed5237cf3 Import translations. DO NOT MERGE
Change-Id: I8fd74a112993b1e9ee07d05da0628b6de6060c76
Auto-generated-cl: translation import
2016-12-02 20:52:42 -08:00
TreeHugger Robot
26b4494808 Merge "Improve "Try again in 1 seconds" behavior in lockscreen" 2016-11-29 16:41:10 +00:00
Hidenari Koshimae
5be868c590 Improve "Try again in 1 seconds" behavior in lockscreen
When user fails an authentification in lockscreen many times,
"Try again in 30 seconds." is displayed and a 30 seconds
timer starts to count backwards.

This lets "Try again in 1 seconds" to be displayed for one second.

Bug: 31078006
Change-Id: I6c7de2b751582bb06a93e583b710f83201da1728
2016-11-29 14:48:46 +01:00
Michal Karpinski
c6b4d6d23c Merge "Strong auth timeout for trust agents" 2016-11-29 10:09:09 +00:00
Jorim Jaggi
3f12426d00 Only acquire FPM if feature is available
Test: Boot non-fp device, observe no wtf
Change-Id: If32b2370413f8bfe1477af52809c76e8c892cafa
Fixes: 32976626
2016-11-23 10:25:48 +00:00
Michal Karpinski
c52f867875 Strong auth timeout for trust agents
The fingerprint timeout tracking in KeyguardUpdateMonitor has been
extended with use of StrongAuthTracker.

Test: timeout will be CTS tested, testing of unlocking TBD
Bug: 29825955
Change-Id: I5cc49ef46631c412f2d1db88e68a308322b27027
2016-11-21 10:01:59 +00:00
Sudheer Shanka
dc589ac82b Update usage of ActivityManagerNative.
- Remove references to ActivityManagerProxy.
- Add isSystemReady to ActivityManager.

Bug: 30977067
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts
      adb shell am instrument -e class com.android.server.am.ActivityManagerTest,com.android.server.am.TaskStackChangedListenerTest \
          -w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I07390b6124fb1515821f5c0b37baf6ae74adc8fa
2016-11-14 11:27:12 -08:00
Tamas Berghammer
383db5ebcc Update package names to work with the proto3 compiler
Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
2016-11-08 14:06:09 +00:00
Jorim Jaggi
8d78693157 The big keyguard transition refactor (6/n)
Cleanup:
- Make sure all the state is nicely dumped.
- Remove some unused stuff.
- Fix a flicker when occluded -> unlocked

Bug: 32057734
Change-Id: Id87e26adccef740d608b325c2dc1f6db14dd4ec3
2016-11-01 15:36:40 -07:00
Adrian Roos
154b9ee638 Fix broken KeyguardMessageArea
Fixes a bug where the keyguard message area would reorder clears
after a new message was set, leading to the bouncer prompt reason
not showing.

Change-Id: I33001300d9175c521809cd4fdae5158269245c00
Fixes: 32306174
Test: runtest -x $T/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/KeyguardMessageAreaTest.java
2016-10-21 16:48:55 +00:00
Adrian Roos
2ec2019f00 Merge "Keyguard: Clean up security message display" 2016-10-17 18:32:59 +00:00
Adrian Roos
db327e9f59 Keyguard: Clean up security message display
- Remove timinig out of messages. This is no longer
  necessary because we do not show the owner and charging
  info in that area anymore.
- Remove the "important" parameter, which was equivalent to
  clearing the message if false.

Change-Id: I5fae5432724ad90a68f53f678f933c4a15dc6e9b
Fixes: 28270749
Test: manual; reboot device, swipe up, verify message doesn't disappear after 5s
2016-10-17 18:31:49 +00:00
Bill Yi
21f5d2e0ef Import translations. DO NOT MERGE
Change-Id: Iff8f9a53e2dbe6d1df00304e4301accecbff8cf1
Auto-generated-cl: translation import
2016-10-13 22:11:56 -07:00
Jorim Jaggi
96a153a3f1 Don't output latency if it wasn't started
Test: Make sure you don't get double latency output for a single
action.
Fixes: 32085767

Change-Id: I7f57f974737ce21e8513688a8d5fbf80a1f0571b
2016-10-13 11:44:07 +00:00
Jorim Jaggi
1edc4ac74f Merge "More latency tests (1/2)" 2016-10-10 11:50:39 +00:00
Jorim Jaggi
b1ce491d78 Merge changes from topic 'latency_pin'
* changes:
  Unlock latency improvements
  Add latency tracking for checking PIN (1/2)
2016-10-10 11:48:06 +00:00
Edward Savage-Jones
8d6f73f644 Merge "Make PIN/password failed attempts dialog non-cancelable" am: 708543b5ff am: d94cc68123 am: 05efd16c46
am: e6f8904cd1

Change-Id: I99478a82c9b9db6147836e6e3ad053f2d767f9a7
2016-10-08 21:21:51 +00:00
Jorim Jaggi
c3fe204780 More latency tests (1/2)
- Move latency fake actions into a central location, LatencyTester
- Add latency test for screen turning on

Change-Id: I8aa3f475d56a4ee7a36b97bd6ece32e60c5851cd
2016-10-07 18:54:21 +02:00
Jorim Jaggi
ed3032b6b8 Unlock latency improvements
- Make sure the latency also gets tracked on first unlocked in
which we cancel the AsyncTask.
- Also add it for pattern authentication

Change-Id: Ie1561264b0a3b75c09819ccc6d269e61e367e1be
2016-10-07 17:26:59 +02:00
Jorim Jaggi
d05651790a Add latency tracking for checking PIN (1/2)
Also move tags to Keyguard as we need it in Keyguard.

Change-Id: I718581cb4081830da1c3a2f4ad9b9f0ec6f09ae5
2016-10-07 16:18:00 +02:00
Jorim Jaggi
90f6279f42 Merge commit '2a30b7600992d136f63b26aa28204e8e97730e10' into HEAD
Change-Id: Ibcd5bab971c82a551623d226e4490b39d32fa8c0
2016-10-07 15:16:07 +02:00
Edward Savage-Jones
e6f8904cd1 Merge "Make PIN/password failed attempts dialog non-cancelable" am: 708543b5ff am: d94cc68123
am: 05efd16c46

Change-Id: Ife64f5db81028f665101d434cd6345ed8dac2d7c
2016-10-07 11:29:51 +00:00
Edward Savage-Jones
05efd16c46 Merge "Make PIN/password failed attempts dialog non-cancelable" am: 708543b5ff
am: d94cc68123

Change-Id: I69df9317467dc48fdd0c39081fcd5a9e65d72cc1
2016-10-07 11:21:55 +00:00
Jorim Jaggi
2a30b76009 Reload state when user unlocks am: dadafd4109
am: 1ad950823b

Change-Id: I26b1826986ccba9d0c7fc1a6adb6f9118795557a
2016-10-06 20:51:08 +00:00
Edward Savage-Jones
b08a146617 Make PIN/password failed attempts dialog non-cancelable
This commit makes it harder for a users pocket to trigger an MDM
remote wipe, by setting the warning dialog to noncancelable.

With this change the pocket would first need to tap on OK before
being able to attempt to enter a PIN. This mirrors the existing
behaviour of both PIN and PUK warning dialogs.

Test: manual - enable an MDM set to trigger a wipe of the device/user
on unsucessful unlock attempts. Then incorrectly enter your PIN until
the warning dialog appears.  The dialog should only be dismissable
by pressing the 'OK' button.

Change-Id: I4d86af555a5d8b226ceffa4711bd5e277db93f1e
2016-10-05 16:55:24 +02:00
Bill Yi
e96e0bde19 Import translations. DO NOT MERGE
Change-Id: I47e511a867d00c2f40499a79961eb7dc6ba3cc45
Auto-generated-cl: translation import
2016-10-03 18:33:35 -07:00
Jorim Jaggi
dadafd4109 Reload state when user unlocks
Test: Unlock freshly booted non-FBE device, make sure the transition
is fast as well as the icons have the correct state

Change-Id: I6427427d16edeceb0f410be0b88de601a3dffdb4
Fixes: 31203310
2016-10-03 05:56:47 -07:00
Bill Yi
24749794c7 Import translations. DO NOT MERGE
Change-Id: I0ec7888e60f776d7ceeb2082e0ff79d650a3eb37
Auto-generated-cl: translation import
2016-09-26 17:01:46 -07:00
Adrian Roos
8740e37939 Show PLMN on CryptKeeper am: 316bf54484 am: 3b09d5028c
am: 8249ef437c

Change-Id: Ifaa93b7d4772c46ecb4a301606f29acc2aa8139e
2016-09-26 09:30:25 +00:00
Selim Cinek
2cae5760c6 Added Emergency affordance feature am: 705442fa7d am: 0e1f78da65
am: 10691456b8

Change-Id: Ieb3a0da5d5693a186c92ab1c21ba189558207ae3
2016-09-26 08:46:30 +00:00
Adrian Roos
8249ef437c Show PLMN on CryptKeeper am: 316bf54484
am: 3b09d5028c

Change-Id: Ide966f8d1c3f9ebe639000aa007532514387ec54
2016-09-24 02:12:28 +00:00
Adrian Roos
3b09d5028c Show PLMN on CryptKeeper
am: 316bf54484

Change-Id: Ia1e078cca8e29aa0f36b46daf74ce91ec1a90f48
2016-09-24 02:07:38 +00:00
TreeHugger Robot
c3fddb984c Merge "Show PLMN on CryptKeeper" into nyc-mr1-dev 2016-09-24 01:58:55 +00:00
Sudheer Shanka
42ed497416 Merge "Add usermanager related perf tests - part2" 2016-09-24 01:12:01 +00:00
Adrian Roos
316bf54484 Show PLMN on CryptKeeper
Also shows the state only once radio is enabled.

Fixes: 30301831
Change-Id: Iaf3b96c3622e20d8ada6e1f6391d6065101fb281
2016-09-23 17:28:38 -07:00
Selim Cinek
10691456b8 Added Emergency affordance feature am: 705442fa7d
am: 0e1f78da65

Change-Id: I6f8220b18bce7889e3b9efe1b075a680a0ae7187
2016-09-23 22:12:33 +00:00
Selim Cinek
0e1f78da65 Added Emergency affordance feature
am: 705442fa7d

Change-Id: I03ebb84119f9cb310882ba9ea90ee1e1d7118d03
2016-09-23 22:00:42 +00:00