Commit Graph

15513 Commits

Author SHA1 Message Date
Allen Hair
2d0504edbf Fine tune code coverage filters for SystemUI tests.
am: 8fef05f2c1

Change-Id: Id29138a3e84e21e68bae956dbf27e09106ebc6b3
2016-08-31 17:43:42 +00:00
Jason Monk
0318c9a681 Fix QS CTS failure caused by tile backup am: 34f6cbc288
am: 89fb99c8e9

Change-Id: I34e6ed3e9641e67dde208a43b063192c8c92e8c8
2016-08-31 01:40:49 +00:00
Jason Monk
89fb99c8e9 Fix QS CTS failure caused by tile backup
am: 34f6cbc288

Change-Id: Ic82ccc386b8ab81797e748893b831601c34c12ce
2016-08-31 01:36:54 +00:00
Allen Hair
8fef05f2c1 Fine tune code coverage filters for SystemUI tests.
Bug: 28269038
Change-Id: Iece993a76b39873170c4ae0b2d1cd2dd5445e3c2
2016-08-30 16:55:35 -07:00
Jason Monk
34f6cbc288 Fix QS CTS failure caused by tile backup
The CTS tests weren't receiving the onTileAdded callbacks since the
shade was not in the listening state when tiles were added. This is
not possible for users (since tiles are added while the UI is
listening), but add a flushMessagesAndUnbind call to make sure the
tiles always receive onTileAdded.

Since now flushMessagesAndUnbind can be called before a real call
to setBindService(true), add a clause that will clear out its
immediate unbind state.

Change-Id: Idd13c432a4af5741813da9a9b1b292a47fd9443b
Fixes: 31147742
2016-08-30 20:37:04 +00:00
Jorim Jaggi
314c05db45 Add animation when unoccluding windows (1/2)
am: 6626f54e65

Change-Id: I09be1e1b7d830067c354c6cdfd940deafa027a22
2016-08-30 00:25:52 +00:00
Jorim Jaggi
6626f54e65 Add animation when unoccluding windows (1/2)
Before there was a jump-cut when a window that was occluding Keyguard
was going away, leading to an ugly flicker. To fix this, we do the
following.

- Always show windows with FLAG_SHOW_WHEN_LOCKED above lockscreen, even
if they don't "match" the currently occluding app (which is null in the
animation case)
- Move wallpaper behind last window that is not hidden by policy, so the
window doesn't get occluded by the wallpaper.
- Add a flag in the setOccluded call whether to animate or not. SystemUI
then plays a nice animation when it's set.
- Override the animation to always be the animation that happens when we
exit a window which is revealing the wallpaper behind, to make it
consistent with the home screen case.

Fixes: 30829255
Change-Id: Ib3fe20fc9003a0f9f291c974740f044ed8707e75
2016-08-29 14:15:33 -07:00
Jorim Jaggi
9bdfbd7c82 Play sound on ACTION_DOWN for navigation keys
am: 05bce15da9

Change-Id: I99ee8746b710c131dcd781a1623aa3b5edbbc84d
2016-08-26 19:46:36 +00:00
Jorim Jaggi
05bce15da9 Play sound on ACTION_DOWN for navigation keys
Change-Id: I83a39aa9ba2519952cb723d72c66203881c9b3b5
Fixes: 30837708
2016-08-26 19:39:28 +00:00
Allen Hair
15b70213a4 Configure code coverage filters.
am: 02fd609460

Change-Id: Iae831e68c195abcfa52528ac8609fbbee0be03df
2016-08-26 17:33:35 +00:00
Allen Hair
6bf296f6dc Merge "Configure code coverage filters." into nyc-mr1-dev 2016-08-26 17:28:52 +00:00
Jason Monk
8ed8f1e6a1 Backup system QS tiles am: baade7573f
am: 9813cb61dd

Change-Id: Ia0ba996f6b0a889ba7469a2272a6fe0c235b15d5
2016-08-26 13:29:46 +00:00
Jason Monk
9813cb61dd Backup system QS tiles
am: baade7573f

Change-Id: Ie601a706cbdcfdb1e836117d02fec914b4acbab1
2016-08-26 13:24:14 +00:00
Jason Monk
baade7573f Backup system QS tiles
Add QS tiles to the backup list.  Non-system tiles will get removed
since they won't be installed when restore happens.

Change-Id: Iccf6e773384c45bd4d1f10c21aa8af356b3920d2
Bug: 28782938
2016-08-26 13:15:49 +00:00
Allen Hair
02fd609460 Configure code coverage filters.
Bug: 28269038
Change-Id: If4dfb769d543e70faea7200dc1da15c50a83270f
2016-08-25 17:28:03 -07:00
Adrian Roos
079911cb6c DirectReply: Fix bugs when replying from HUNs
am: 9550f2e75c

Change-Id: I0edbb334926eb1147e271e31229279218561332d
2016-08-24 23:14:18 +00:00
TreeHugger Robot
a8cf435e81 Merge "DirectReply: Fix bugs when replying from HUNs" into nyc-mr1-dev 2016-08-24 23:07:35 +00:00
Adrian Roos
190e532c86 DirectReply: Fix bugs when replying from HUNs
Fixes a bug that would re-open the remote input when
it was sent while HUN'd. Also fixes a bug that would
not properly clear a notification if swiped away and
at the same time HUN'd and having a reply active.

Change-Id: I3e8b5f81eaffd8e4b8602f3dbdd025229ba201fa
Fixes: 30454772
2016-08-24 20:41:19 +00:00
Adrian Roos
9550f2e75c DirectReply: Fix bugs when replying from HUNs
Fixes a bug that would re-open the remote input when
it was sent while HUN'd. Also fixes a bug that would
not properly clear a notification if swiped away and
at the same time HUN'd and having a reply active.

Change-Id: I3e8b5f81eaffd8e4b8602f3dbdd025229ba201fa
Fixes: 30454772
2016-08-24 13:35:15 -07:00
Winson
fcf8f8382b Fixing issue with toasts not showing for guest users.
am: 675c5d8e5a

Change-Id: Icd495e4f6dd9f8c7e10d6e88c8839ee358b1e41a
2016-08-24 01:53:12 +00:00
TreeHugger Robot
e846b18d33 Merge "Fixing issue with toasts not showing for guest users." into nyc-mr1-dev 2016-08-24 01:47:20 +00:00
Jorim Jaggi
b0ba9599c8 Don't use fullscreen theme for forced resizable info activity
am: 3f09052eb9

Change-Id: I3a965a0037fe1c22559567d74ee3a4a8c41bafea
2016-08-24 01:36:35 +00:00
TreeHugger Robot
6e370d35fe Merge "Don't use fullscreen theme for forced resizable info activity" into nyc-mr1-dev 2016-08-24 01:32:11 +00:00
Jorim Jaggi
55f4b0e9be Remove swipe-up gesture from Tuner
am: 3793aff806

Change-Id: I601fdce7b6e88e30b2ccfdf55d84ed41ff1d5e36
2016-08-24 01:26:40 +00:00
TreeHugger Robot
5a10360d7e Merge "Remove swipe-up gesture from Tuner" into nyc-mr1-dev 2016-08-24 01:21:07 +00:00
Winson
675c5d8e5a Fixing issue with toasts not showing for guest users.
Bug: 30001278
Change-Id: I43269da8a6c41f4fec5923aafe5a624ec75ba651
2016-08-23 17:22:32 -07:00
Winson
3174f2931b Bump up preloading recents on boot up to user unlocked.
am: c3eedd972d

Change-Id: Id7a6f3a04d98672219d7f9995665258a138de8e0
2016-08-23 23:58:33 +00:00
Winson
c3eedd972d Bump up preloading recents on boot up to user unlocked.
- To fix b/29320695, we moved the initial recents preloading to boot 
  completed.  However, that event happens fairly late in the boot 
  sequence, and preloading can instead be done in response to user 
  unlocked.

Bug: 29879478
Change-Id: I881bd9c4c3b91d73df4947bfd2cc55eb6e615d15
2016-08-23 23:53:41 +00:00
Jorim Jaggi
c9be359ad4 Update light mode when battery saver changes
am: 244a43ee6f

Change-Id: Ifb0238a6690d06ec4abd7aa600763cfb6f607dc5
2016-08-23 22:29:14 +00:00
Jorim Jaggi
3793aff806 Remove swipe-up gesture from Tuner
We can't do it anymore with the slippery flag, so remove the entry
in the tuner.

We'll clean up the code in master.

Change-Id: Ib3dee0c947e7925b5847f2edc4801495c659dfa5
Fixes: 30891575
2016-08-23 20:49:18 +00:00
Jorim Jaggi
3f09052eb9 Don't use fullscreen theme for forced resizable info activity
Change-Id: I74b5443645dd532ff597d4a1773bbd5a38d71192
Fixes: 29278265
2016-08-23 20:40:10 +00:00
Jorim Jaggi
244a43ee6f Update light mode when battery saver changes
Change-Id: I56b309222782d823d80a66c87d30eefed2ce5dc7
Fixes: 30150232
2016-08-23 13:28:04 -07:00
Selim Cinek
37b0ccf303 Made background updater more robust to state changes
am: 9bfba9c157

Change-Id: I32e762641b7efd9ce10f0b7d6b21b986c58c617e
2016-08-23 19:09:35 +00:00
Selim Cinek
b438c11564 Avoid weird expand animation when a notification is updated
am: bb42b7dd48

Change-Id: I68f50687c08ff6f9100d4bfcc2ac35ec52b98e09
2016-08-23 19:09:28 +00:00
TreeHugger Robot
c6c45d225c Merge "Made background updater more robust to state changes" into nyc-mr1-dev 2016-08-23 18:55:48 +00:00
TreeHugger Robot
c55457b146 Merge "Avoid weird expand animation when a notification is updated" into nyc-mr1-dev 2016-08-23 18:53:21 +00:00
Adrian Roos
e43dd10cbe Ambient: Pulse for every noisy notification exactly once
am: d13602f1e7

Change-Id: I45cf1a129ae53d251bd033a8f15618b3868cd351
2016-08-23 16:52:15 +00:00
TreeHugger Robot
bd43552975 Merge "Ambient: Pulse for every noisy notification exactly once" into nyc-mr1-dev 2016-08-23 16:38:19 +00:00
Rubin Xu
e815c696c0 Not longer need MANAGE_DEVICE_ADMINS permission.
am: 1573d8be78

Change-Id: I4eb9ccc440f2c84b5528a28632a9d2c9bbec2617
2016-08-23 16:06:51 +00:00
Adrian Roos
97de2b2666 Ambient: Pulse for every noisy notification exactly once
Also increases the pulse duration and switches timing to
elapsed realtime instead of wall time for robustness. Also
remove triggering for notification light for simplifying code.
Only noisy notifications are able to trigger the light anyway and
noisy notifications already trigger ambient on their own.

Change-Id: I4efbe530bb1a60cabaa46c2b04bcd5e12cdef680
Fixes: 31004875
2016-08-23 15:49:04 +00:00
Rubin Xu
a96e906e80 Merge "Not longer need MANAGE_DEVICE_ADMINS permission." into nyc-mr1-dev 2016-08-23 12:59:19 +00:00
Adrian Roos
d13602f1e7 Ambient: Pulse for every noisy notification exactly once
Also increases the pulse duration and switches timing to
elapsed realtime instead of wall time for robustness. Also
remove triggering for notification light for simplifying code.
Only noisy notifications are able to trigger the light anyway and
noisy notifications already trigger ambient on their own.

Change-Id: I4efbe530bb1a60cabaa46c2b04bcd5e12cdef680
Fixes: 31004875
2016-08-23 13:58:31 +02:00
Bill Yi
f2e311f117 Import translations. DO NOT MERGE
Change-Id: I5785b293e1062ba5b04d60237569c77be7517603
Auto-generated-cl: translation import
2016-08-22 20:47:43 -07:00
Bill Yi
8213e7afca Import translations. DO NOT MERGE
Change-Id: I18cf83300428bd340ee2a13f908343dc05ab9f76
Auto-generated-cl: translation import
2016-08-22 15:29:51 -07:00
TreeHugger Robot
c341e0b571 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-22 15:55:48 +00:00
Adrian Roos
4dc14b231e HIC: Improve AccelerationClassifier
Apply a bunch of improvements to the acceleration classifier:

- When dragging from the edges, we get some delay without
  movement between the DOWN and MOVE, which confounds the
  classifier. Now discounts data segments where the delay
  does not match the expected 16ms.
- The distance ratio did not compensate for differences
  in sampling. If it does it's equivalent to the speed
  ratio however. The distance ratio was removed and the
  impact of the speed ratio score doubled.
- If we cannot calculate the ratio, no longer penalize
  the traces for this.

Bug: 27405075
Change-Id: I067eb4d478593afbb20354e5c85a05353e2b4184
(cherry picked from commit 6b312a09fc)
2016-08-22 13:41:39 +00:00
Bill Yi
8ac0dbea72 Import translations. DO NOT MERGE
Change-Id: I70e3e40079070238efae9b6b7aa8625395d5b9da
Auto-generated-cl: translation import
2016-08-19 18:33:08 -07:00
Adrian Roos
127dcbcf07 HIC: Improve AccelerationClassifier
am: 6b312a09fc

Change-Id: Ic0e0db4d8c0cdd507352b18904fb5fb0747168e9
2016-08-19 22:28:08 +00:00
TreeHugger Robot
f438720b17 Merge "HIC: Improve AccelerationClassifier" into nyc-mr1-dev 2016-08-19 22:03:39 +00:00
Adrian Roos
6b312a09fc HIC: Improve AccelerationClassifier
Apply a bunch of improvements to the acceleration classifier:

- When dragging from the edges, we get some delay without
  movement between the DOWN and MOVE, which confounds the
  classifier. Now discounts data segments where the delay
  does not match the expected 16ms.
- The distance ratio did not compensate for differences
  in sampling. If it does it's equivalent to the speed
  ratio however. The distance ratio was removed and the
  impact of the speed ratio score doubled.
- If we cannot calculate the ratio, no longer penalize
  the traces for this.

Bug: 27405075
Change-Id: I067eb4d478593afbb20354e5c85a05353e2b4184
2016-08-19 13:38:02 -07:00