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
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
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
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
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
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
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
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
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
Toasts are now black on white so update
icon we use in the toast to be black.
Test: Manual
Bug: 64120926
Change-Id: Iae153b98e187f58e0a0ab5eb315860bc97437a7f
When touches fall through the normal click targets, redirect them
to the nearest view.
Test: runtest systemui
Change-Id: I48267d9b1e15bf8dbe8725b72326751b03196efa
Fixes: 64080938