Commit Graph

20774 Commits

Author SHA1 Message Date
Bill Yi
450d3efe63 Import translations. DO NOT MERGE
Change-Id: I555a73a55287c8223739cc8cf9425348d1c0dd4b
Auto-generated-cl: translation import
2017-04-29 22:12:31 -07:00
Zac Iqbal
e287e22446 Merge "Added indication text stubs for changes to trust." 2017-04-28 23:43:40 +00:00
Jeff Sharkey
25fdc90020 Merge "Respond to API council feedback." into oc-dev am: d275dc83be
am: 858fd1bf47

Change-Id: Ie58915ab6882725ac030a024a09b719f7f9db249
2017-04-28 23:15:55 +00:00
Jeff Sharkey
858fd1bf47 Merge "Respond to API council feedback." into oc-dev
am: d275dc83be

Change-Id: Ibfe675230ef74e5dea9eb7974604a66003e548fc
2017-04-28 23:05:44 +00:00
TreeHugger Robot
0c672cd4b6 Merge "AOD: Fix mistaken fall-through in switch statement" 2017-04-28 22:58:34 +00:00
Jeff Sharkey
d275dc83be Merge "Respond to API council feedback." into oc-dev 2017-04-28 22:54:39 +00:00
TreeHugger Robot
666f139f7b Merge "AOD: Don't use DOZE screen state on AOD2" 2017-04-28 22:10:09 +00:00
Adrian Roos
4f7c67fcce Merge "AOD: Show keyguard while dozing but not locked" 2017-04-28 21:17:32 +00:00
Adrian Roos
00bb0bcd4e AOD: Fix mistaken fall-through in switch statement
Bug: 36781008
Test: Trigger AOD2, observe that SysUI does not crash after.
Change-Id: I187bd01bf32ae2d8e9bdca50209e9639f760b59d
2017-04-28 13:55:40 -07:00
Adrian Roos
2324d8578a AOD: Don't use DOZE screen state on AOD2
Fixes an issue where AOD2 had low color gamut. Instead, we now use
the high-power screen state there.

Bug: 36781008
Test: Receive notification on AOD2, observe that color is not distorted
Change-Id: I370a74c0f1d5cfd49194b53b9e20bf1f0dc5d4d0
2017-04-28 13:46:15 -07:00
Zachary Iqbal
8f4c2426f6 Added indication text stubs for changes to trust.
Notes:
- Subclasses of KeyguardIndicationController can now provide indication text to be displayed when trust has been granted.

Test: runtest sysui
Bug: 37487319
Change-Id: I030954d51a5c3000c45e465fcd261e4887520aa6
2017-04-28 13:39:50 -07:00
Guang Zhu
da3d287156 Merge "Revert "Extend extension support"" 2017-04-28 20:37:01 +00:00
Guang Zhu
e9f2d284ef Revert "Extend extension support"
Bug: 37785708

This reverts commit 9933c1cf93.

Change-Id: Ic96e178835f5a9bbd2416f0e573975c60172388c
2017-04-28 20:34:42 +00:00
Jeff Sharkey
1a74942fbf Respond to API council feedback.
Test: builds
Bug: 37752002
Change-Id: I7ae1699c4c5e1a098d16465c41fb41510478b678
2017-04-28 14:24:03 -06:00
TreeHugger Robot
6b975513d0 Merge "Fix bug in translating the outline of a notification." 2017-04-28 18:52:46 +00:00
Selim Cinek
329b258cdb Merge "Fixes a bug where the asynctask wasn't removed when inflating" into oc-dev am: 7188fda4af
am: bf0a784423

Change-Id: I61c6e1e694e9d9168f8398092dba53e4391d6f02
2017-04-28 18:36:26 +00:00
Selim Cinek
bf0a784423 Merge "Fixes a bug where the asynctask wasn't removed when inflating" into oc-dev
am: 7188fda4af

Change-Id: If501b5b534bee5b95f446fd48012c4c6a779bb10
2017-04-28 18:17:22 +00:00
Selim Cinek
7188fda4af Merge "Fixes a bug where the asynctask wasn't removed when inflating" into oc-dev 2017-04-28 17:48:59 +00:00
Jason Monk
779f55d6d9 Merge "Extend extension support" 2017-04-28 17:21:44 +00:00
Jason Monk
9933c1cf93 Extend extension support
- Add support for ui mode type selection
 - Convert plugin fragment listener over to extensions to be more
   versatile
 - Add tests

Test: runtest systemui
Change-Id: Id5f28aa14b16e5a12df0434c9792bce551011efb
2017-04-28 11:12:02 -04:00
Jorim Jaggi
fccea2a63f Merge "Workaround an interpreter behavior to fix leak" into oc-dev am: 745c6e02c6
am: 5067b8565e

Change-Id: Iae41224ff10a7a8a0d6f41d8a9ae63ba4261978d
2017-04-28 14:39:22 +00:00
Jorim Jaggi
5067b8565e Merge "Workaround an interpreter behavior to fix leak" into oc-dev
am: 745c6e02c6

Change-Id: I487fb7438edb7697a65e5abc695f32332f0567b1
2017-04-28 14:34:21 +00:00
TreeHugger Robot
745c6e02c6 Merge "Workaround an interpreter behavior to fix leak" into oc-dev 2017-04-28 14:29:09 +00:00
Geoffrey Pitsch
e697bf3dbc Merge "Fix notification text not wrapping and clipping switch." into oc-dev am: b05beffabc
am: 1838ed0e85

Change-Id: I236a9b3fd8fee09981e2bb65d75f63cc290b9475
2017-04-28 13:56:16 +00:00
Geoffrey Pitsch
1838ed0e85 Merge "Fix notification text not wrapping and clipping switch." into oc-dev
am: b05beffabc

Change-Id: Ie931c61a94a9680c75fa739a16d6b2da7e072686
2017-04-28 13:50:01 +00:00
TreeHugger Robot
b05beffabc Merge "Fix notification text not wrapping and clipping switch." into oc-dev 2017-04-28 13:40:58 +00:00
Jorim Jaggi
0a07650b8d Workaround an interpreter behavior to fix leak
When a local variable (cachedThumbnailData) gets out of scope,
the interpreter might still keep a reference to it in the
register. Thus, we extract the handling of this local variable
into a method such that it gets removed from the register.

Test: Open recents, go home, take dump, make sure no reference
from HandlerThread to ThumbnailData is still existing.
Fixes: 37630958

Change-Id: If25456b212341be7a66882a0adfd5afb4a64ce23
2017-04-28 14:32:23 +02:00
Kevin Chyn
5431f908ab Merge "FP won't wake device if daemon dies" into oc-dev am: e3d3ffcb19
am: 64d4e903fe

Change-Id: I2fd61cb1674a6cd1578d5989c76322a259d6ce78
2017-04-28 03:58:38 +00:00
Kevin Chyn
64d4e903fe Merge "FP won't wake device if daemon dies" into oc-dev
am: e3d3ffcb19

Change-Id: I66737d8a07f8147a5929559f79cfa6d8a4780881
2017-04-28 03:48:08 +00:00
TreeHugger Robot
e3d3ffcb19 Merge "FP won't wake device if daemon dies" into oc-dev 2017-04-28 03:40:43 +00:00
TreeHugger Robot
9876d5cfb2 Merge "enable fingerprint when assistant is on top of keyguard" 2017-04-28 02:00:05 +00:00
Adrian Roos
b4671196ae Merge "AOD: Wake up on double tap instead of requesting pulse" 2017-04-28 01:39:40 +00:00
Selim Cinek
ae1d6ee93f Merge changes from topic 'music_extraction' into oc-dev
am: e44061f9e7

Change-Id: I8c5a58540be4e96aea4c48a8365f512d508ff1c5
2017-04-28 01:20:22 +00:00
Selim Cinek
dc1231c3b9 Fixes a bug where the asynctask wasn't removed when inflating
Test: runtest systemui
Bug: 36561228
Change-Id: I9b5099d4a32be1f18db2ab1f8c94fe6f35a51b18
2017-04-27 18:01:26 -07:00
Adrian Roos
087826ad11 AOD: Show keyguard while dozing but not locked
Fixes an issue where AOD would not work correctly between screen
off and when the keyguard actually locked.

Fixes: 30017474
Test: Settings > Security > Gear, set lock device after 30s, disable "lock immediately on power key", turn phone off, try double tap. should work without having to wait 30s
Change-Id: Ifa88e35a821b86a2ed8117ed8a63fc51b5304121
2017-04-27 17:45:36 -07:00
Selim Cinek
e44061f9e7 Merge changes from topic 'music_extraction' into oc-dev
* changes:
  Make music notifications not dimmable
  Implementing gradual image fade for the media template
  Extracting the notification colors based on the album art
  Moved notification builder creation to the background
2017-04-28 00:24:55 +00:00
Selim Cinek
63edaf2a2c Make music notifications not dimmable
For contrast requirements and for the image effect
to work properly, music notifications should not be
dimmable.

Test: add music notification, look at lockscreen
Fixes: 36561228
Merged-In: I58313e1828c64d34737390ad03e1deef078a7059
Change-Id: I58313e1828c64d34737390ad03e1deef078a7059
2017-04-27 22:31:05 +00:00
Selim Cinek
0847acd4d4 Implementing gradual image fade for the media template
Test: play music
Merged-In: I525513ce1da1237c4edad32c0ed31e79d5eacd32
Change-Id: I525513ce1da1237c4edad32c0ed31e79d5eacd32
Fixes: 36561228
2017-04-27 22:21:50 +00:00
Selim Cinek
5fb73f8629 Extracting the notification colors based on the album art
Media notifications are now extracting the background and
foreground colors from the album art.

Test: manual, play different songs
Bug: 36561228
Merged-In: I9c3c962fa59eb70ef9b2d4893b939be6e1ee1ab0
Change-Id: I9c3c962fa59eb70ef9b2d4893b939be6e1ee1ab0
2017-04-27 22:21:17 +00:00
Kevin Chyn
61c988972d enable fingerprint when assistant is on top of keyguard
Fixes: 37719495

Test: make sure fp works when assistant is on top of keyguard
Change-Id: Ib96427816054f94c56dff93e079224a32140840e
2017-04-27 15:18:28 -07:00
Adrian Roos
ed85e58656 AOD: Wake up on double tap instead of requesting pulse
When we are already showing AOD1 always, we need to
wake up instead of requesting a pulse.

Change-Id: I2931334caa350a157a1eab24f00ddf1ab913cc34
Fixes: 37751889
Test: Turn on AOD, double tap on AOD, verify device wakes up.
2017-04-27 15:09:28 -07:00
Lucas Dupin
97985d8453 Merge "Wallpaper color extraction" 2017-04-27 22:08:19 +00:00
Selim Cinek
2630dc7ecf Moved notification builder creation to the background
In preparation of future colorization work, the creation
of the notification builder is moved to the background.

Test: manual, add notifications, update them etc.
Test: runtest systemui
Bug: 36561228
Merged-In: Iaec5febf4d8d9da348d77e0d4f6f61b9746fae16
Change-Id: Iaec5febf4d8d9da348d77e0d4f6f61b9746fae16
2017-04-27 21:34:40 +00:00
Selim Cinek
2c2b931efd Merge changes from topic 'media_colorization_master'
* changes:
  Make music notifications not dimmable
  Implementing gradual image fade for the media template
  Extracting the notification colors based on the album art
  Moved notification builder creation to the background
2017-04-27 21:33:33 +00:00
Anthony Chen
794cfbfa50 Fix bug in translating the outline of a notification.
When the contents of the notification is translating, then then outline
shoud translate with it. This logic was incorrectly reversed.

Test: booted up on Angler device, pop up notifications and swiped to see
shadow

Change-Id: Ib798cf79d3487c3af80343787353fe667c3e53fc
2017-04-27 14:29:12 -07:00
Adrian Roos
b36a039aa7 Merge "SysUI A11y: Fix keyguard time utterance" into oc-dev am: 898b0cb39a
am: a27631dade

Change-Id: I710f5e48b490c419f32e0a4a8d9ec9cbda47073a
2017-04-27 20:48:53 +00:00
Adrian Roos
a27631dade Merge "SysUI A11y: Fix keyguard time utterance" into oc-dev
am: 898b0cb39a

Change-Id: Ifdc2b56ce9b59ea9c3f185fb6fac8850842bbb67
2017-04-27 20:33:47 +00:00
TreeHugger Robot
898b0cb39a Merge "SysUI A11y: Fix keyguard time utterance" into oc-dev 2017-04-27 20:10:54 +00:00
TreeHugger Robot
53d247e893 Merge "Import translations. DO NOT MERGE" 2017-04-27 19:57:53 +00:00
Geoffrey Pitsch
900be26b34 Fix notification text not wrapping and clipping switch.
Change-Id: I9b2a86d3377f028b75785f1bbf0b33c010419787
Fixes: 37558563
Test: runtest systemui
2017-04-27 15:45:44 -04:00