Commit Graph

6741 Commits

Author SHA1 Message Date
Beverly
07eec8db3b Consistently uses ASCII numbers in notif category translation.
Bug: 64947172
Test: manual
Change-Id: I3f18be578bd441cecdd22af221953c9bf0c64666
2017-08-23 17:19:06 -04:00
TreeHugger Robot
30d876498c Merge "USB debug dialog won't give permission if obscured." into oc-mr1-dev 2017-08-22 17:03:17 +00:00
Bryan Eyler
2ff95846da Add user selection to car status bar and animate.
Adds the UserGridView to the car status bar and adds an animation when
expanding/hiding.

Bug: 63593747
Tested on Mojave with the fullscreen user switcher and status bar.

Change-Id: If6ddbd4da896c5eb661393dcc35ab299361754e9
2017-08-17 13:36:59 -07:00
Beverly
830d54f2c7 USB debug dialog won't give permission if obscured.
Previously, the USB debugging dialog was suceptible
to tapjacking over tcp if a malicious party obscured
the USB debugging text to mask the id of the system
requesting permissions.

The fix prevents users from giving permissions if the
dialog being displayed is partially obscured.  Instead,
it will present a toast explaining to the user why they
cannot give permissions.

Test: manual
Bug: 62187985
Change-Id: I3bdcd1876cd6dbe8a728bbce74edb52ab79f3e4c
2017-08-17 11:07:28 -04:00
Bryan Eyler
060a9d1021 Merge "Add the margin between user pods." into oc-mr1-dev 2017-08-16 20:09:08 +00:00
Bryan Eyler
f623b5670a Add the margin between user pods.
In fullscreen user switcher, there is a margin that needs to be
accounted for between user pods.  This is not the same as the margin
that increases the size of a user pod.

Also fixes the way the layout is done so that it handles long user
names properly with ellipsis.

Bug: 36454400
Tested on Mojave

Change-Id: Idb3468f6a8c3f1b81a96c5ff73ff1d32c48e2c82
2017-08-16 20:08:06 +00:00
Bill Yi
bc91607e15 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I8b6189c6e7048899552af6c17be6c429c4a086de
2017-08-15 17:40:24 -07:00
TreeHugger Robot
a2991d045d Merge "Always show global actions on the right" into oc-mr1-dev 2017-08-14 18:04:10 +00:00
TreeHugger Robot
449bb694b4 Merge "Switch battery saver to sentence case" into oc-mr1-dev 2017-08-14 17:42:09 +00:00
Bryan Eyler
30f9d275e9 Merge "Use first letter of user for icons." into oc-mr1-dev 2017-08-14 17:30:44 +00:00
Jason Monk
ac3e08e584 Always show global actions on the right
It should be aligned with the physical power buttons.

Test: visual
Change-Id: Icec9fe00fdce42d0bf347691ab7629c4ca38df78
Fixes: 63846903
2017-08-14 15:25:38 +00:00
Jason Monk
ce2f47ec6b Switch battery saver to sentence case
Test: strings
Change-Id: I01bc6f3621758dc155347946b8a15c885c695b2c
Fixes: 27844148
2017-08-14 10:50:25 -04:00
TreeHugger Robot
264998a80f Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-08-12 17:07:56 +00:00
Bill Yi
8a4be0233f Import translations. DO NOT MERGE
Change-Id: I7837d78bd145f55471ea2b0ba11890f0f3a2552c
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-11 23:17:19 -07:00
Jason Monk
577e6bebd0 Merge "Change default temp threshold to use shutdown temp" into oc-dr1-dev
am: 84626a4e3d

Change-Id: I4c3c5be04aaa1eee409ea706b387370cedf5b15b
2017-08-11 22:29:00 +00:00
TreeHugger Robot
eb098f2681 Merge "Change PiP menu activity title to prevent duplicate announcement." into oc-mr1-dev 2017-08-11 21:38:41 +00:00
Jason Monk
d819c31050 Change default temp threshold to use shutdown temp
Base the temp threshold to be based on the shutdown temp lowered
by some amount to ensure the warning can be seen before a shutdown.

Test: runtest systemui
Change-Id: I033a776e874d76018592954932ed5127e1b228ae
Fixes: 62845934
2017-08-11 14:44:51 -04:00
Julia Reynolds
1e3b38bce1 usb string update
Change-Id: Ib55ce7dbb0e9e5d25e01fd70b99cad5494cd619c
Fixes: 63157187
Test: make
2017-08-11 13:53:26 +00:00
TreeHugger Robot
106dc34fb2 Merge "Fix the strings accordingly for policy transparency dialogs" into oc-mr1-dev 2017-08-11 10:42:24 +00:00
Winson Chung
addb48a2ae Change PiP menu activity title to prevent duplicate announcement.
Bug: 64489467
Test: Hover over PiP in accessibility
Change-Id: I27532f6a7825e57757d8ddab336c5cee5fa92acd
2017-08-10 14:00:54 -07:00
Tony Mak
57d22f6b31 Fix the strings accordingly for policy transparency dialogs
Bug: 64555046

Test: Built and observe the strings.

Change-Id: If0343d701dee24d392b0578131e50b9002433a9b
2017-08-10 15:11:54 +00:00
Beverly
334bc5fc77 Low battery notification has unique sound.
Change-Id: I51c8e099da04d4bf1a55d081c9fce7fc8fb90bd1
Fixes: 63853037
Test: runtest systemui
2017-08-09 16:57:28 -04:00
TreeHugger Robot
8cbb5ffd5b Merge "Inherit theme dark/light scheme for MediaRouter dialogs/button" into oc-dr1-dev 2017-08-09 17:31:48 +00:00
TreeHugger Robot
11a81ce6a1 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-08-09 16:59:24 +00:00
Christofer Åkersten
8466b0179e Merge "Inherit theme dark/light scheme for MediaRouter dialogs/button" into oc-mr1-dev 2017-08-09 16:45:51 +00:00
TreeHugger Robot
9dbd07ef32 Merge "Import translations. DO NOT MERGE" into oc-dr1-dev 2017-08-09 15:59:32 +00:00
Evan Laird
09ba6909ab Merge "Update X, -, + icons in dnd panel" into oc-dr1-dev
am: 6b0c1604a6

Change-Id: I400f6c493469bc775bce9ef903fd496a33524a74
2017-08-09 14:24:39 +00:00
TreeHugger Robot
6b0c1604a6 Merge "Update X, -, + icons in dnd panel" into oc-dr1-dev 2017-08-09 14:13:15 +00:00
The Android Open Source Project
fd2f62f33c Import translations. DO NOT MERGE
Change-Id: I02e4b572c91641f5d61321bd3248081723ad65ab
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-09 00:54:18 -07:00
The Android Open Source Project
9d8d672e80 Import translations. DO NOT MERGE
Change-Id: I8097c0abf78190a193cc4b5974d81b9be2b33642
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-09 00:34:40 -07:00
Christofer Åkersten
fb09ecfdd7 Inherit theme dark/light scheme for MediaRouter dialogs/button
Bug: 64291950
Test: manual
Change-Id: I20694ce512a794a3c6574108b80dcfb4979b3b39
Merged-In: I20694ce512a794a3c6574108b80dcfb4979b3b39
2017-08-09 16:28:50 +09:00
Christofer Åkersten
d51640ba50 Inherit theme dark/light scheme for MediaRouter dialogs/button
Bug: 64291950
Test: manual
Change-Id: I20694ce512a794a3c6574108b80dcfb4979b3b39
2017-08-09 15:48:16 +09:00
Bryan Eyler
13b50705f3 Use first letter of user for icons.
When no picture is available for a user, use the first letter of their
user name in the icon instead of a default icon.

Bug 36454400
Tested on Mojave

Change-Id: I2fe9583a2a416dc7e8fc9d103ba63038df8f4df9
2017-08-08 17:01:03 -07:00
Evan Laird
ed57d2148a Update X, -, + icons in dnd panel
Include rounded assets for just those icons in the zen panel and the zen
footer in the volume rocker.

Test: visual (light/dark mode)
Change-Id: I6cafd5aa760e4944eadbe7f4ab83430776c0047e
Fixes: b/64480541
2017-08-08 16:04:27 -04:00
Kenny Guy
91866c65a5 Merge "Update colour to match toasts." into oc-dr1-dev 2017-08-08 12:49:32 +00:00
Bill Yi
8c76a0e482 Import translations. DO NOT MERGE
Change-Id: I10155c355d302c88ef1e99d7dc64da171be90840
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-06 03:09:38 -07:00
Bill Yi
30ae8961ad Import translations. DO NOT MERGE
Change-Id: I4e89d6ac0b96852fae1e1c8a030ffd8c5e003171
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-05 02:13:14 -07:00
Evan Laird
22c07cadc1 Merge "Revert opacity changes from (Id94a5684b2c55956b01aa6cfb240784e6bab2f6e)" into oc-dr1-dev
am: d17d52567b

Change-Id: I327a0e9f91bd8eac756a65ba6e68304c3934abfc
2017-08-04 13:49:10 +00:00
Evan Laird
d17d52567b Merge "Revert opacity changes from (Id94a5684b2c55956b01aa6cfb240784e6bab2f6e)" into oc-dr1-dev 2017-08-04 13:40:08 +00:00
Adrian Roos
33fa840298 Merge "AOD: Add support for dimming in software" into oc-dr1-dev
am: b2107c9b56

Change-Id: Ic3cf031a067ae6221ae9e8fb3acdcd1625dfa7bc
2017-08-04 09:52:31 +00:00
Evan Laird
fa2aa12bab Revert opacity changes from (Id94a5684b2c55956b01aa6cfb240784e6bab2f6e)
The change made to the status bar icon dual tone background color was
causing failures in CTS. Reverting that to fix the issue.

Test:  runtest -x
cts/tests/tests/systemui/src/android/systemui/cts/LightBarTests.java
Fixes: 64256444

Change-Id: I66979bef3369d85f51aac0e6705d21d038b57727
2017-08-03 14:26:12 -04:00
Adrian Roos
c8e29e7886 AOD: Add support for dimming in software
Some devices cannot dim low enough in hardware in low power states.
To work around that, keep the front scrim at higher opacity when needed
to simulate lower brightness.

Bug: 63995944
Test: Configure scrim in config.xml; use device in very dim light at night, observe AOD is sufficiently dim.
Change-Id: I92fffedeea89b9327d76dfb184c5c761364ead11
2017-08-03 20:14:31 +02:00
Kenny Guy
3236306a8c Update colour to match toasts.
Toasts are now black on white so update
icon we use in the toast to be black.

Merged-In: Iae153b98e187f58e0a0ab5eb315860bc97437a7f
Test: Manual
Bug: 64120926
Change-Id: If09de0fa4c315dc59ae2311afe6c4da18cdff0c6
2017-08-03 15:29:27 +01:00
Kenny Guy
88743cf4cf Update colour to match toasts.
Toasts are now black on white so update
icon we use in the toast to be black.

Test: Manual
Bug: 64120926
Change-Id: Iae153b98e187f58e0a0ab5eb315860bc97437a7f
2017-08-03 15:07:26 +01:00
Kenny Guy
f74c2a6ff6 Update work briefcase asset.
Bug: 36497538
Test: Manual - visually checked icons.

Change-Id: I1d5dd1b80bd32667e47dfc4a1c355a5106271d72
(cherry picked from commit d49d28a8ae)
2017-08-03 09:49:16 +00:00
Jason Monk
d789b7b99f Merge "Make it easier to click on phone nav buttons" into oc-dr1-dev
am: 7d08ca6e4d

Change-Id: I8e2c578cb564b2bc2de7c793eb40dea2639fa04e
2017-08-01 19:52:08 +00:00
Jason Monk
9262c942b5 Make it easier to click on phone nav buttons
When touches fall through the normal click targets, redirect them
to the nearest view.

Test: runtest systemui
Change-Id: I48267d9b1e15bf8dbe8725b72326751b03196efa
Fixes: 64080938
2017-08-01 12:29:59 -04:00
Bill Yi
8be11f0b63 Import translations. DO NOT MERGE
Change-Id: Idd7fe75cda287243462dc045eff8f3ab2511bd47
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-31 19:03:43 -07:00
Bill Yi
717f280526 Import translations. DO NOT MERGE
Change-Id: I913c1e958acf25433ad56dd3d6caa97441b8754a
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-31 18:42:03 -07:00
TreeHugger Robot
98a98d4cb9 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-07-31 06:00:50 +00:00