32868 Commits

Author SHA1 Message Date
Matthew Ng
fb692acb64 Longpress overview in minimized mode only for resizable launches (1/2)
Since resizable launchers in minimized mode shows more of the docked
stack than in non-resizable launchers, it will play the same
functionality as split screen where long press overview button will
exit split screen into fullscreen mode.

Test: test was written - adb shell am instrument -w -e class
com.android.androidbvt.SysUIMultiWindowTests
com.android.androidbvt/android.support.test.runner.AndroidJUnitRunner
Fixes: 34892561
Change-Id: I9f957dada1b325b36068d59fa9b2d1fa4912b804
2017-02-03 18:12:54 -08:00
Adrian Roos
fe54aa00e2 AOD: Fix AoD time tick after refactor
Test: Turn on AoD, check if time keeps updating after a minute
Bug: 30876804
Fixed: 34985073
Change-Id: I7d5ce01b4f04e1a1a89b62ba321215b44f54de7b
2017-02-03 18:00:07 -08:00
TreeHugger Robot
92f77f0f8b Merge "SystemUI: Add LightBarController dump" 2017-02-04 01:29:36 +00:00
Selim Cinek
245090f060 Fixed a regression where custom notification where unreadable
Because custom notifications don't have their background
Color reapplied, we need to ensure that the color is saved.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationCustomViewWrapperTest.java
Change-Id: I309097ef8abe18706479d64c6048521f941a26f5
Fixes: 34861088
2017-02-03 17:14:46 -08:00
Adrian Roos
48a18ad206 Merge "StatusBar: Catch OOM caused by third-party icons" 2017-02-04 01:00:40 +00:00
Jason Monk
e750748404 Add better method test handlers/loopers in sysui
Test: runtest systemui
Change-Id: I94014afab12d385f38a9d1d4a8595bb37cfe0688
2017-02-03 19:42:10 -05:00
Doris Ling
864b7f41bb Remove category key SYSTEM_INPUT
Since we are combining Language & regions and Input and gestures in
System settings, we don't need 2 separate category keys.

Bug: 34976047
Test: make RunSettingsLibRoboTests
Change-Id: Ic11bfb5e4e373a3499772b1d4654187749197899
2017-02-03 16:15:03 -08:00
Selim Cinek
cd812c8efe Fixed a wrong translation calculation on first pull down
Test: runtest systemui
Change-Id: I75bf8e1b9693131d4494ef263175c3a99af8f314
Fixes: 34500824
2017-02-03 16:12:01 -08:00
Selim Cinek
9910483608 Further improved the coloring optimization
Fixes a few follow up bugs from the colorized
notification CL.

This also allows media notifications with a media
session to be colorized by default.

Test: existing tests pass
Bug: 34469375
Change-Id: I36348591a84fcd39d103d0ae3f64720f2fca2cf2
2017-02-03 16:11:51 -08:00
Adrian Roos
1bf6077afe SystemUI: Add LightBarController dump
Test: adb shell dumpsys activity service com.android.systemui
Bug: 34198865
Change-Id: I7b109449b3d5e392a55740a8237bd43c509089a7
2017-02-03 15:47:43 -08:00
Adrian Roos
fb2d0cc090 StatusBar: Catch OOM caused by third-party icons
Bug: 31825355
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/StatusBarIconViewTest.java
Change-Id: I3e2a8c3da43a572a026ea0bbe1d39234035a4801
2017-02-03 14:23:50 -08:00
Andrew Sapperstein
a6ed7f8ba5 Add additional logging for temperature readings.
In order to determine how often devices are reaching various
temperatures, we now cache the last hour of temperature readings.
Once it's been an hour, we calculate the avg/min/max and log the results.

Additionally, this CL adds some logging to show how the temperature has
changed over time during the one hour window and what the charging status
is when the notification shows.

Bug: 34510881, 34379897
Test: manual
Change-Id: I62a5ccc92122f5d2955a52677740e896f0d7892b
2017-02-03 12:50:19 -08:00
Jason Monk
7d6fa83a99 Fix the tests
Window types changed, need to use a different one

Test: runtest systemui
Change-Id: Iac2641feb49e54af98ac523363d387647552eb0a
2017-02-03 15:16:21 -05:00
Selim Cinek
2a12324268 Merge "Fixed the background for low-priority legacy notifications" 2017-02-03 19:03:06 +00:00
Delphine Martin
25fed91371 Fix incorrect syntax in Proguard flags
When writing a rule matching fields and methods at the same
time, only the name '*' is authorized.

Bug: 34916285

Change-Id: I90cb8273f0915e216940faa1b3d9c6e82296798f
2017-02-03 11:47:33 +01:00
TreeHugger Robot
7acceb8746 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-03 08:57:23 +00:00
TreeHugger Robot
d46d030238 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-03 08:10:55 +00:00
TreeHugger Robot
b2d152ee90 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-03 08:10:36 +00:00
TreeHugger Robot
362113588f Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-03 08:10:02 +00:00
TreeHugger Robot
a9d4a2cdc5 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-03 08:09:07 +00:00
TreeHugger Robot
18891008dc Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-03 08:08:35 +00:00
TreeHugger Robot
ec47322af8 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-03 08:08:10 +00:00
TreeHugger Robot
c3d842df73 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-03 08:06:44 +00:00
Bill Yi
49a9d35eb7 Import translations. DO NOT MERGE
Change-Id: I048f56389089e4ddda39477a10c935dd5ed00552
Auto-generated-cl: translation import
2017-02-02 23:13:19 -08:00
Bill Yi
9b11a3cea8 Import translations. DO NOT MERGE
Change-Id: I0292d15f9ce58b6ae589e9901155dc233da8994e
Auto-generated-cl: translation import
2017-02-02 20:27:50 -08:00
Bill Yi
8c97416258 Import translations. DO NOT MERGE
Change-Id: I4fd53e32bdd8da20d93cd2800fce5bb007c2f5ad
Auto-generated-cl: translation import
2017-02-02 19:57:19 -08:00
Bill Yi
62c95279e2 Import translations. DO NOT MERGE
Change-Id: I96c4934556779581110e0e625dd69604f33ea624
Auto-generated-cl: translation import
2017-02-02 19:53:39 -08:00
Bill Yi
ba8e772bbe Import translations. DO NOT MERGE
Change-Id: Ib30b732ba934a3d301d1763dca7642f4c5a9e83a
Auto-generated-cl: translation import
2017-02-02 19:50:14 -08:00
Bill Yi
b2d808b3f3 Import translations. DO NOT MERGE
Change-Id: Ic396f6c902a55fc4a5d0e2246c5e6be7a6a310eb
Auto-generated-cl: translation import
2017-02-02 19:47:04 -08:00
Bill Yi
37093ca19c Import translations. DO NOT MERGE
Change-Id: Ica7657382bbe34cb849b6bc07b6bc3f92b04049a
Auto-generated-cl: translation import
2017-02-02 19:30:38 -08:00
Bill Yi
31423f28b7 Import translations. DO NOT MERGE
Change-Id: Ic4421f63eb2837c54e32b25ddc7160ab50faa308
Auto-generated-cl: translation import
2017-02-02 19:19:09 -08:00
Manu Cornet
13476b7747 2D Recents: fix toggling behavior am: a96a617a4e
am: 7a1a3d4529

Change-Id: I0945901cd50e98b9dc4e7b10a23077fbd1e0350c
2017-02-03 00:08:45 +00:00
Selim Cinek
f402af2081 Fixed that the HUN layout could be visible on Keyguard
am: b5aa599eec

Change-Id: Ieb75c720899a8d120df8d45ec5a6beab476cec19
2017-02-03 00:08:06 +00:00
Manu Cornet
7a1a3d4529 2D Recents: fix toggling behavior
am: a96a617a4e

Change-Id: I8978e8ae81e3566e83ca3d7819b95d54c5861b67
2017-02-03 00:02:22 +00:00
Selim Cinek
4f3463290b Merge "Increased the collapsed size of messaging notifications" 2017-02-02 23:59:08 +00:00
Selim Cinek
9c95a9ccc6 Merge "Fixed that the HUN layout could be visible on Keyguard" into nyc-mr2-dev 2017-02-02 23:58:23 +00:00
Manu Cornet
f69e421f48 Merge "2D Recents: fix toggling behavior" into nyc-mr2-dev 2017-02-02 23:56:20 +00:00
Selim Cinek
d63d50adbb Merge "Fixed that the HUN layout could be visible on Keyguard" 2017-02-02 23:55:59 +00:00
Selim Cinek
f868efedd5 Fixed the background for low-priority legacy notifications
The background color could be calculated wrong in case we
Had a legacy notification with a dark background.

Test: install legacy custom notification with background, observe
Change-Id: Ie2a8ba4012f30719c05115f51bfddbdc8e33e551
Fixes: 34856700
2017-02-02 15:53:08 -08:00
Manu Cornet
f8b2e8bffb 2D Recents: Less drastic scale reduction for dismiss animation am: 8ea36af22b
am: 69f9c6073d

Change-Id: I60cc6ab90e224c82524a36bc2d5123d0cda95fa0
2017-02-02 23:21:56 +00:00
Manu Cornet
429338e3bd 2D Recents: Fix issues with thumbnail scaling transitions am: 57b6149f8b
am: 6f5bb1f340

Change-Id: I0556939ca9c94965865ac050a98981a347f6d0aa
2017-02-02 23:19:05 +00:00
TreeHugger Robot
de3f962e8a Merge "Update the drag to dismiss UI to be closer to design" 2017-02-02 21:40:19 +00:00
Jason Monk
d7af66d0c3 Merge "Move recents CommandQueue callbacks to recents" 2017-02-02 21:09:29 +00:00
Selim Cinek
c494e38c07 Fixed that the HUN layout could be visible on Keyguard
Test: runtest systemui
Change-Id: I9d106b6b021bb15fd709a6281beed8ab084201db
Fixes: 34548351
2017-02-02 12:25:58 -08:00
Geoffrey Pitsch
580f32d7b0 Merge "SystemUI uses Builder API with NotificationChannel" 2017-02-02 20:25:48 +00:00
Selim Cinek
b5aa599eec Fixed that the HUN layout could be visible on Keyguard
Test: runtest systemui
Merged-In: I9d106b6b021bb15fd709a6281beed8ab084201db
Change-Id: I9d106b6b021bb15fd709a6281beed8ab084201db
Fixes: 34548351
2017-02-02 12:22:10 -08:00
Manu Cornet
69f9c6073d 2D Recents: Less drastic scale reduction for dismiss animation
am: 8ea36af22b

Change-Id: Ie90263b3eff6ecc7b469fe7c6fa028c2ff1afc62
2017-02-02 19:30:21 +00:00
Manu Cornet
6f5bb1f340 2D Recents: Fix issues with thumbnail scaling transitions
am: 57b6149f8b

Change-Id: Iacd79a63699736c9b8fb7794d45bc8891c57b513
2017-02-02 19:26:43 +00:00
Jason Monk
764da991de Move recents CommandQueue callbacks to recents
This will make it a more common and less broken place for both
handset and TV.

Fixes: 34813216
Test: make and click on recents button.
Change-Id: I2fd9c3103e2be28a19497719ac5763c064beeed1
2017-02-02 14:13:16 -05:00
Mady Mellor
d4e40fb097 Update the drag to dismiss UI to be closer to design
Rather than a circular target for drag to dismiss, there is text / icon
as well as a gradient. As the PIP approaches the text / icon they grow
in size. If the PIP is released overtop of the text / icon, it is
dismissed.

Test: Using PIP test app, have a PIP, drag it to dismiss target area.
Change-Id: I339ad14e144dfd61f0e990ba4d2559642a47b141
2017-02-02 11:08:26 -08:00