1557 Commits

Author SHA1 Message Date
Jorim Jaggi
9322632f6a Fix a flicker when returning to the lockscreen am: d11d1a9486
am: afaf4ac7a9

Change-Id: I26eb19aba2c68fea5faa82bf1e41286b8999bf4a
2016-08-17 18:54:20 +00: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
ed56804385 Fix a race to detemine IME switcher visibilityde am: 982a94c5e3
am: 28c87d5d3b

Change-Id: I2dd8354b3addeb9f989e8df73ab5edfefe91fbac
2016-08-12 18:05:00 +00:00
Yohei Yukawa
28c87d5d3b Fix a race to detemine IME switcher visibilityde
am: 982a94c5e3

Change-Id: I03f2a9377a72d9c9e826bf4bffd81a85b90eca83
2016-08-12 17:50:05 +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
bbf52f2e85 Only disable trust agents after lockout am: 9d6fc9246b
am: 73b2f5981e

Change-Id: Idec9662345a8ed9f75605d1b5dd39f04ef488389
2016-08-11 02:44:42 +00:00
Adrian Roos
73b2f5981e Only disable trust agents after lockout
am: 9d6fc9246b

Change-Id: I1fd7860a5a2c452e4b3c2e3e8d1073c423c9f054
2016-08-11 02:38:45 +00: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
Bill Yi
10540d5a5e Import translations. DO NOT MERGE
Change-Id: Iaefc1628f743935d0969a9e353388b587dcf244c
Auto-generated-cl: translation import
2016-08-10 08:43:23 -07:00
Jim Miller
1b3261902d Bind fingerprint when we start authentication am: 837fa7e56d
am: 3871272fc6

Change-Id: I950703c466265ec5e164f6e75772800745579d34
2016-08-10 00:06:16 +00:00
Jim Miller
3871272fc6 Bind fingerprint when we start authentication
am: 837fa7e56d

Change-Id: Id2e84b60102653598e6d459e83835739b57ef404
2016-08-09 23:58:11 +00: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
a73a9769b0 Removed contentDescriptions that hindered accessibility usability am: d871f95f49
am: dafed80e62

Change-Id: Ic0d7c57ab495318c3318b0f1827cde4c86e8e3d2
2016-08-08 19:42:16 +00:00
Selim Cinek
dafed80e62 Removed contentDescriptions that hindered accessibility usability
am: d871f95f49

Change-Id: I53bc3cfc98f749d0675b6893e2ccf247cc7cbdad
2016-08-08 19:31:28 +00: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
Selim Cinek
99831520c5 Improved vibration feedback completely am: 0fc298ffc7
am: de55d281c0

Change-Id: I6aeb82701087c050c296b37df202350040259169
2016-08-03 01:11:30 +00:00
Selim Cinek
de55d281c0 Improved vibration feedback completely
am: 0fc298ffc7

Change-Id: I9c6c7dc7bf1e330092f572dd7fde97b86851bf1b
2016-08-03 01:03:14 +00: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
9db18770fa framework: SystemUI: add tracing to Keyguard
am: 1d3967506e

Change-Id: Ie889e05bc24230ea9779ca63003908c90be85d43
2016-07-27 21:28:12 +00: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
Selim Cinek
45ac88982f Merge \"Changed to vibrate on down instead of up when entering pin\" into nyc-mr1-dev
am: 798d69817d

Change-Id: Ic940aa6733ddf9e7415f9ae43b849ae2c2c06cd0
2016-07-19 23:50:37 +00: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
Selim Cinek
a8c8cf5314 Merge \"Fixed a bug where the burmese clock could overlap\" into nyc-mr1-dev
am: f25486f8a5

Change-Id: I5184fb95e70251291e5426c07e882e346a7e51f4
2016-07-15 01:49:11 +00: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
6e57aae680 Merge \"Improve initial unlock delay (1/2)\" into nyc-mr1-dev
am: 165b011a74

Change-Id: Ib7bfefcd59288d144a22434e5a99124c66fa4826
2016-07-08 22:08:37 +00: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
7ccd3241e0 Merge \"Print names of observers causing timeout\" into nyc-mr1-dev
am: 38d7897690

Change-Id: I45f06a2167e11733829c660c7baaae3996d8c7eb
2016-06-23 21:58:36 +00: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
13eaaea877 Merge "Fixed that volume buttons were not working on the pin input" into nyc-dev am: 8e2a2fa98c
am: 01c59fc091

* commit '01c59fc091819d982f821ebc1d347b2821a13c41':
  Fixed that volume buttons were not working on the pin input

Change-Id: I336e32276d219fe0205a934de4533dba1d5cba2d
2016-06-02 16:48:27 +00: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
4e52453d0e Merge "Disable app pinning when emergency call button pressed" into nyc-dev am: 8b655e0f57
am: 49459e4ee8

* commit '49459e4ee88dbaa342fb6add9af51ccbadc88d98':
  Disable app pinning when emergency call button pressed

Change-Id: I6cf2181d2f2f8a897b2d5eb8ab9482c11a55dd3c
2016-05-31 17:41:12 +00: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
40d4d6094c Merge "Don\'t always announce accessibility events when resetting password" into nyc-dev am: 2d1c424a0e
am: 9e507bd737

* commit '9e507bd73702ae56da0439be0b9f27e05b06f558':
  Don't always announce accessibility events when resetting password

Change-Id: Id1fa56d69af2d7394fa2083511f68c6621d19a54
2016-05-17 22:26:45 +00: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