Commit Graph

1586 Commits

Author SHA1 Message Date
Tamas Berghammer
24d8553316 DO NOT MERGE: Revert "Update package names to work with the proto3 compiler"
This reverts commit cbd3f0c59a.

Change-Id: I6e8d193fa22e0e7e30b214c13ae0480d3c9b0dc6
2017-01-18 19:33:22 +00:00
Tamas Berghammer
cbd3f0c59a Update package names to work with the proto3 compiler
Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
(cherry picked from commit 383db5ebcc)
2017-01-11 11:27:38 +00:00
Baligh Uddin
b1df48d326 Merge remote-tracking branch 'goog/cw-f-dev' into fix_merger
Bug: 32849428

* goog/cw-f-dev: (98 commits)
  Revert "Catch KeyStoreException for setting profile lock"
  Fix createConfirmDeviceCredentialIntent for wear for CTS.
  Fix default dialog background colour for watch devices.
  Catch KeyStoreException for setting profile lock
  Add cross-links between FINE and COARSE location permissions. bug: 25371600
  Fixed a bug with the emergency affordance in multi user
  Zygote: Additional whitelists for runtime overlay / other static resources.
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Zygote : Block SIGCHLD during fork.
  colors: add missing accent_material_{700,50} resources.
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Zygote : Block SIGCHLD during fork.
  DO NOT MERGE ANYWHERE Revert "DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous"
  ...

Change-Id: I63468da5bfa21ed9ac5985bbdbf3a61d4c389aa0
2016-11-22 17:19:45 -08: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
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
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
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
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
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
Michal Karpinski
6f81529e28 Fingerprint Strong auth timeout am: 0b72a722ed
am: 369672b8bb

Change-Id: Id152e63ba4b378ea10787198c3f6cd58d2f07495
2016-09-23 07:13:34 +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
205e105306 Escalate HeadsUp when dreaming starts am: 994153944e
am: 0234c7f164

Change-Id: I5678a8b1c7e5bd536095b5f9b32d4bd1ebfeed79
2016-09-13 02:21:10 +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
90e224bda9 Fix slow PIN dismiss animation am: 6bd3890ff9
am: 2db2153719

Change-Id: I49c639a9a6fee09f9a3361e1a91f57b492e060cb
2016-09-07 21:41:56 +00: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
1dfb41cc83 Only do slow unlock transition if real home is not running am: 031f79560f
am: eb2d50dd0d

Change-Id: Ia00cfe414741f8a1898266fb8bdc528dae77c288
2016-09-04 01:52:19 +00: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
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