Commit Graph

1546 Commits

Author SHA1 Message Date
Bill Yi
a4513689c8 Import translations. DO NOT MERGE
Change-Id: I1b9d68a390483f6259a7eb05a2e337af617896b6
Auto-generated-cl: translation import
2018-02-19 08:07:44 -08:00
Bill Yi
4cd0777c01 Import translations. DO NOT MERGE
Change-Id: Ibd7d5723c9c4cdc09efcb30f604ff43a096c5da1
Auto-generated-cl: translation import
2018-01-25 05:12:24 -08:00
Bill Yi
c503b8f992 Import translations. DO NOT MERGE
Change-Id: I1a406cd61d89311ba4c903078452f46cb1e46870
Auto-generated-cl: translation import
2017-12-20 04:24:18 -08:00
Bill Yi
3cee46963b Import translations. DO NOT MERGE
Change-Id: I5acf10cd74c7c7ced9b3d6a6975e7d116b2033c7
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-11 21:12:48 -07:00
Bill Yi
c083b037ef Import translations. DO NOT MERGE
Change-Id: I954a10e182672bd56b02906d530f0415a1704160
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-26 10:39:26 -07:00
Bill Yi
c51dd09193 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 32766034
Change-Id: Ib8d20a325693588125631810c810665922d4191a
2016-11-10 20:39:44 -08: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
TreeHugger Robot
c3fddb984c Merge "Show PLMN on CryptKeeper" into nyc-mr1-dev 2016-09-24 01:58:55 +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
a05719a278 Merge changes If7c3a55e,I68dcba41,Ib96a15da into nyc-mr1-dev
* changes:
  Fixed a bug where the dimmed background could be invisible
  Fixed an issue where the inline controls where not usable
  Added Emergency affordance feature
2016-09-23 21:51:22 +00:00
Selim Cinek
705442fa7d Added Emergency affordance feature
Added a service that listens whether emergency affordances
are necessary.

If the they are needed, it adds an option to the
global actions dialog that directly launches the
emergency call and also adds a long-press listener
to the keyguard emergency button.

Test: adb shell settings put global force_emergency_affordance 1 && adb shell settings put global emergency_affordance_number 111112
Fixes: 30404490
Change-Id: Ib96a15da2ef4b568a8d77140ebca6aa6f20f5ddb
2016-09-22 12:25:57 -07:00
Michal Karpinski
0b72a722ed Fingerprint Strong auth timeout
Allows PO and DO configure strong auth timeout for fingerprint.

Bug: 31430135
Change-Id: Ie6451d49aa95527adc3720d9a2a0848f58940510
(cherry picked from commit 8f010dd25d)
2016-09-15 12:01:26 +00:00
Selim Cinek
994153944e Escalate HeadsUp when dreaming starts
1. When dreaming starts before locking, notifications can remain
pinned. This is because the device is locked without
screen off, and HeadsUp are not escalated.
As a result is the pinned heads up shown behind the bouncer
when unlocking.
In this case touchable bound is limited to headsup bounds,
so the user can't unlock at all.

2. Escalate HeadsUp when bar state changes to KEYGUARD

3. This also fixed a bug where the bouncer isn't touchable
When device is occluded and locked, HeadsUp can appear.
If the user then clicks on the HeadsUp and try to send
pending intent, Bouncer can be shown without expanding
panel.

Bug:30820511
Change-Id: I8604c9d00d839d773b32d8b913dfdcd2ed72f1dd
2016-09-12 16:41:54 -07:00
Jorim Jaggi
6bd3890ff9 Fix slow PIN dismiss animation
We need to do the slow dismissal when the user is locked, and not the
other way around.

Bug: 31203310
Change-Id: I6ad0fc831bd9dc26e7375916a0a091552f7790ae
2016-09-06 15:27:56 -07:00
Jorim Jaggi
031f79560f Only do slow unlock transition if real home is not running
Test: Tested the first unlock on both FDE and non-FDE device.

Change-Id: Ibfbb9d67fb83456acd7b12bbe2d03a961a998ba9
Fixes: 31203310
2016-09-01 16:57:25 -07:00
Jorim Jaggi
d11d1a9486 Fix a flicker when returning to the lockscreen
If we return to the lockscreen from a FLAG_SHOW_WHEN_LOCKED activity,
there was an additional black flicker as the wallpaper wasn't shown
for a couple of frames. The issue is that we didn't set the wallpaper
flag again, to fix another flicker with lockscreen wallpapers. Now,
we pass the state whether we currently have a lockscreen wallpaper
and if we don't have one, we immediately set the wallpaper flag
again.

Bug: 30829255
Bug: 30883413
Change-Id: I9faeaa77b98eb02058171ce19cf90b43826ebe9e
2016-08-17 18:10:54 +00:00
Yohei Yukawa
41941689b7 Merge "Fix a race to detemine IME switcher visibilityde" into nyc-mr1-dev 2016-08-12 17:43:43 +00:00
Bill Yi
cf9a807e7e Import translations. DO NOT MERGE
Change-Id: I27949ecc8590b8c00ddac9c45000e34c11205a29
Auto-generated-cl: translation import
2016-08-12 00:13:54 -07:00
Yohei Yukawa
982a94c5e3 Fix a race to detemine IME switcher visibilityde
When the current user is switching to a user who requires password to
unlock, there is a chance that InputMethodManagerService has not
completed InputMethodManagerService#onSwitchUser() when the keyguard is
calling InputMethodManager#getEnabledInputMethodList() to detemine
whether the IME switcher icon should be shown or not.  If this occurs,
and if the previous user enables only one IME but the new user enables
multiple IMEs, it's possible that the IME switcher icon is not shown
when it should be.  Although the user is still able to work around this
by switch back to the previous user then the current user again until
the icon shows up, or can rely on a way to switch to next
IME (e.g. globe key) if it's available, the lack of the IME switcher
is still concerning since it can prevent the user from unlocking the
device.

As a quick workaround for this situation, this CL introduces a delayed
task to re-evaluate if we need to show the IME switcher icon on the
keyguard or not (currently the delay is set to 500msec) until this race
condition is fundamentally fixed.

Bug: 30640917
Change-Id: I93ea71d73540c31fbbe1cc4bd6747871f957dcc6
2016-08-11 19:16:02 -07:00
Adrian Roos
9d6fc9246b Only disable trust agents after lockout
Previously trust agents would be disabled even after one
wrong attempt. Now we wait for the cooldown (usually 5 attempts),
the same as fingerprint.

Also adds a TrustArchive entry of when device policy changes are sent to
trust agents.

Bug: 30037948
Change-Id: I9e284d994ddae45ef66b5b8b601297c63d8ba667
2016-08-10 18:01:32 -07:00
TreeHugger Robot
e11059694a Merge "Bind fingerprint when we start authentication" into nyc-mr1-dev 2016-08-09 23:50:41 +00:00
Jim Miller
837fa7e56d Bind fingerprint when we start authentication
This fixes a bug where it was possible to authenticate the wrong user.
We now bind the userId when we start authentication and confirm it when
authentication completes.

Fixes bug 30744668

Change-Id: I346d92c301414ed81e11fa9c171584c7ae4341c2
2016-08-08 20:16:22 -07:00
Selim Cinek
5a3e33a82a Merge changes Idc4c2c14,Ibea016c6,I49ab58c3,Id911d405,I0f17dc5f, ... into nyc-mr1-dev
* changes:
  Improved the transition when clicking on the last notification
  Fixed a bug that could lead to an empty notification
  Removed contentDescriptions that hindered accessibility usability
  Fixes a bug where setting a null bigLargeIcon would not clear it
  Fixed the transition of the background of the notifications
  Fixed a bug where the notification would fade out in a ugly way
2016-08-08 19:18:33 +00:00
Selim Cinek
d871f95f49 Removed contentDescriptions that hindered accessibility usability
This lead to a whole area being accessibilityfocusable even though
it shouldn't have been.

Change-Id: I49ab58c3da768930576880d8793b2fe2657a0aa8
Fixes: 30315141
2016-08-04 18:12:25 -07:00
TreeHugger Robot
c9682ab5b5 Merge "Improved vibration feedback completely" into nyc-mr1-dev 2016-08-03 00:57:53 +00:00
Selim Cinek
0fc298ffc7 Improved vibration feedback completely
Certain paths were still vibrating at the wrong time.

Change-Id: I660a84efa798a8c1198d8899584ecec48ff2e9d8
Fixes: 30000347
2016-08-02 15:58:45 -07:00
Nick Desaulniers
1d3967506e framework: SystemUI: add tracing to Keyguard
Helps trace the phone unlock path.

Bug: 29693568
Bug: 30279403
Change-Id: I290864f525e3d08f1efc6b9fc603172a5d139ea0
2016-07-27 09:57:31 -07:00
Bill Yi
daf43e3041 Import translations. DO NOT MERGE
Change-Id: Ife234bdea576401bd4d731fe0c7e1cd1f438275f
Auto-generated-cl: translation import
2016-07-20 14:50:29 -07:00
TreeHugger Robot
798d69817d Merge "Changed to vibrate on down instead of up when entering pin" into nyc-mr1-dev 2016-07-19 23:47:34 +00:00
Selim Cinek
8b9f948c6f Changed to vibrate on down instead of up when entering pin
Change-Id: I180e67e65fa3b1230bd1737abf2f0605a254d348
Fixes: 30000347
2016-07-19 15:18:30 -07:00
TreeHugger Robot
f25486f8a5 Merge "Fixed a bug where the burmese clock could overlap" into nyc-mr1-dev 2016-07-15 01:33:33 +00:00
Selim Cinek
b6143c1291 Fixed a bug where the burmese clock could overlap
Change-Id: I9ccd2fd5fd89c973d937196aa16d459e46eca769
Fixes: 26015598
2016-07-14 16:36:04 -07:00
Jorim Jaggi
e8fde5d966 Improve initial unlock delay (1/2)
When checking for the credentials, we add a new callback
onEarlyVerified which gets called as soon as we know that the
credential was correct.

In KeyguardUpdateMonitor, we track the unlocked state of the user,
and if it's still locked, we slow down all the transitions to allow
for a more gradual unlock experience.

Bug: 29007436

Change-Id: I406d228f9f3e41e07fe3292a61df175a7f579e4d
2016-07-08 11:50:54 -07:00
Fyodor Kupolov
0b77ef9f51 Print names of observers causing timeout
Pass and store name in registerUserSwitchObserver and later print names of
observers causing timeout.

Bug: 29039588
Change-Id: I09c4bcc986168a07f5e20ad0f38667b783332288
2016-06-23 11:07:56 -07:00
Bill Yi
69e29c77b8 Import translations. DO NOT MERGE
Change-Id: Ibee7d58074781c85c28496af8ad0702b51fd85a8
Auto-generated-cl: translation import
2016-06-03 04:50:16 -07:00
Selim Cinek
01c59fc091 Merge "Fixed that volume buttons were not working on the pin input" into nyc-dev
am: 8e2a2fa98c

* commit '8e2a2fa98c9ca077681acf13abfb6252c3859e0f':
  Fixed that volume buttons were not working on the pin input

Change-Id: If75f4fef934ab26353803dcbeeed0569f1f2d9bf
2016-06-02 16:41:03 +00:00
TreeHugger Robot
8e2a2fa98c Merge "Fixed that volume buttons were not working on the pin input" into nyc-dev 2016-06-02 15:41:20 +00:00
Selim Cinek
470bf5eccb Fixed that volume buttons were not working on the pin input
Because we were intercepting all buttons.

Change-Id: Id2155f23d55cb5282c87409b9c6b8441540ad894
Fixes: 28786740
2016-06-01 12:35:56 -07:00
Hall Liu
49459e4ee8 Merge "Disable app pinning when emergency call button pressed" into nyc-dev
am: 8b655e0f57

* commit '8b655e0f57b071756e7d6a3547eeabe35885bcc9':
  Disable app pinning when emergency call button pressed

Change-Id: Ibe8d37716ad1630359b3ef08350f485b0d1177a7
2016-05-31 17:37:37 +00:00
Hall Liu
7dac366a7f Disable app pinning when emergency call button pressed
Also disables app pinning when the "return to call" button is pressed
and brings up the in-call screen when app pinning is stopped if there is
an existing call.

Bug: 28558307
Change-Id: I7672123bfa6ba6b5e960bd5166876c50425d3f76
2016-05-27 13:46:27 -07:00
Baligh Uddin
743fd95af3 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28857042
Change-Id: I6d6dc4604209ca11ed6b05c582ee8c30705cd5b3
2016-05-21 18:40:26 -07:00
Jim Miller
9e507bd737 Merge "Don\'t always announce accessibility events when resetting password" into nyc-dev
am: 2d1c424a0e

* commit '2d1c424a0ee8e210c1cd3f71b78d5a11e94f4ff3':
  Don't always announce accessibility events when resetting password

Change-Id: I8ff47b7b9c340fbf5ef4dfde619a80264ca9c170
2016-05-17 22:21:24 +00:00
Jim Miller
4db942c21b Don't always announce accessibility events when resetting password
The code use to always announce for accessibility when resetting the
password field, which results in announcing "Four characters replaced
with zero characters."

The fix is to only announce this message when the user needs to try
again.

Fixes bug 24331841

Change-Id: Icc9450d37b9338a39709f50666829d4a007b2b65
2016-05-16 18:06:50 -07:00
Bill Yi
7aa32cd799 Import translations. DO NOT MERGE
Change-Id: If2e9411130f011e057c4e51fb49f4f92e6421fb4
Auto-generated-cl: translation import
2016-04-27 06:01:25 -07:00
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