This is done buy building all of CarSystemUI as a library and then including that
library as a static lib for an android_app target. Thus anyone that wants to
build a derivative to CarSystemUI can include that library and start extending.
It is the same mechanism that allows CarSystemUI to extend the phone SystemUI
Bug:140875212
Test: Build and Deploy
Change-Id: I4c83b0147c5ce8a8b4321ba0866721e4922df431
Fixes:139682542
Test: turn screen on and off, set lockscreen, switch users
Change-Id: Id10b2e62230b5ee4e5a5ef7419a1500112673049
(cherry picked from commit 4c4971d04ae12c5c19c20aeb296592e9a9f99c0e)
This feature is configurable and set to false as the default value. It
is overlayed as true for Automotive.
Bug: 138242566
Test: manual
Change-Id: I5dde8adc9d4ce749d895287ccf63017b284caec8
Merged-In: I5dde8adc9d4ce749d895287ccf63017b284caec8
All drawables, by default, are shared in memory thus this would affect other
unintended elements to also have their alpha set.
Bug: 134407440
Test: Manual
Change-Id: Ieb26146b67c0cb7d2bfd3213993238be2da68c23
(cherry picked from commit 0b7e45ebc5f1030fe77f3cfe2a542095d9fa6f80)
The CP's http://ag/c/8269205, with some minor modifications.
This removes FalsingManagerFactory, replacing it with
calls to Depedency.get() and pushes those calls further
up the stack in hopes that the FalsingManager can be directly
injected where it's needed in the future.
Contains a few random lint cleanups.
Bug: 136279712
Test: atest SystemUITests
Change-Id: Idd66e40d3bb9ebe9ca583166d5e961cc70ea51b8
Merged-In: Ie24acd33b0d81ae2112aead0c0d5a8658e04994e
This is a significant change that allows Services to have their
constructed injected into.
The DozeService is now labeled as injectable (thought it takes no arguments).
At least one Service has to be marked as injectable for Dagger to be happy
compiling this code.
Bug: 138787339
Test: atest SystemUITests
Change-Id: I0ec92e01dd236bcee3083c8f8744c53b7ccc92d3
Merged-In: Ib58f8763c996fbc2aea07ead56493d2d9e936f5b
This is a targeted fix for not receiving a task stack change callback
when a task with a resumed Activity is reparented to another display.
Bug: 128932906
Test: manual - launch activity from virtual display onto default display
in a new task, verify callback notified. atest WmTests
Change-Id: Idabad8379cded664bcf302d5c6fb69564d158eb7
* changes:
Continued the bypass experience
Changing the lockscreen layout for the bypass
Enabling auth to succeed whenever the bouncer is showing
Enabled dragging down from the lock screen when bypassing
Made sure huns can show on the lock screen even when awake
The notifications are now on the top and the user
can drag down to the full shade from there directly.
The quick settings header also comes down while
expanding from the pulse.
Bug: 130327302
Change-Id: I488f90aacd5912eda6f9423dc76862f06230d793
For automotive, we dismiss keyguard to go straight to the home screen
or the bouncer. However, when the screen is off, we want keyguard to remain
to properly stop the applications.
We dismiss keyguard when the screen comes back on.
Fixes: 133324766
Bug: 133271311
Test: manual, turning screen on and off repeatedly, switching users while
screen is off or on, reboots
Change-Id: Iced146ad8753794bb766eb528dd198f886ccf3d7
Make background transparent and makes the volume items black background.
This is to deal with some UI jank where the background appears before
the item appears.
Separated the left and right padding so that they can be overlayed
separately.
Bug: 129402464
Test: manual
Change-Id: Icff89e0858e9b6b73696082ac2fe37fd5cbcaf1c
The color behind the navigation bar should be handled by other
components (sys ui flags, decorView, etc).
Bug: 133753486
Test: atest CtsWindowManagerDeviceTestCases:EnsureBarContrastTest
Change-Id: Ibc2a0f3a6e361d14f7ba48e475d6d995c1efccf3
This reverts commit 5bd5767768a9dc0a0d2972239fbfd2f68258cfd9.
Reason for revert: We want to delete all the code related to privacy chip/indicator from Q as of now. b/132292477
Bug: 133898491
Change-Id: Ieddae7509d918ab63a5b3111e0efc623fae644b3
1. Clip the shade with the glass pane
2. Add handle bar to bottom
3. Change the background color to #DD0000
Bug: 132908271
Test: Manual
Change-Id: I577ec7132d9ad37e951e07c6f1ce3c5a2a814d90
All the files are copied from P.car. It cannot be cherrypicked as P.car contains more code in th ecl that is not needed in Q.
Bug: 123355120
Test: Manual
Change-Id: I9529c0c9ffd5b317870ee85ff8f81ee126bb6e5c
This is a refactor. It touches a lot of files, but zero functionality.
The primary change is changing FalsingManager.getInstance() into
FalsingManagerFactory.getInstance(); chaning FalsingManager into an
interface, and then turning the existing FalsingManager into
FalsingManagerImpl, an implementation of that interface. Other changes
are merely references to those classes.
Bug: 130256776
Test: atest SystemUITests
Change-Id: I5d64a7673e4efc554105dd841b27807361ed3828