* changes:
[DO NOT MERGE] Dump windowing mode in Winscope traces
[DO NOT MERGE] Dump SurfaceControl's layerId to proto
[DO NOT MERGE] Dump WindowContainer SurfaceControls to proto
[DO NOT MERGE] Expose SurfaceControl's native mLayerId property to Java
[DO NOT MERGE] Sync flicker from master to sc-v2
If the overflow is empty when the last bubble
is dismissed we collapse the stack. If it's not empty
we show the overflow contents.
We were overflowing bubbles AFTER making the choice
to select the overflow or collapse the stack which
causes problems.
Test: atest BubbleDataTest
Test: manual - have 1 bubble and an empty overflow
- navigate to the overflow, dismiss the bubble
=> no crash
Bug: 202320538
Change-Id: Ic838c5c61bcd714d8de94672d3c4ed753d4f6fa6
Under stress tests, it's possible for several messages to be sent before
CHRE has time to respond to the permission query which can cause several
permission queries to be sent and CHRE to be overwhelmed.
Fixes: 202201157
Test: Flash device and run stress test
Change-Id: I16871a116216cd288f0eba0e6c5572f5afa6b959
Allow foldable devices to advertise the mapping between device fold
state and sensor orientation.
Additionally return the current sensor orientation
based on the specific device fold state.
Bug: 201005727
Test: Manual using AOSP Camera2 application,
Camera CTS
Change-Id: Idc76903da22567d29cc55d991b41df7e19490aa3
This dialog will eventually replace the UserDetailView. Right now, it
uses the same adapter to display the content (which is not necessarily
bad).
Missing:
* Red lines (including landscape size).
* Bring user circles up to spec (once it's finalized).
* Launch animations (to and from dialog).
Test: manual
Test: atest SystemUITests
Bug: 185360864
Bug: 198796184
Change-Id: I903d111822d1958fb53c43932b2df1393c841c71
Merged-In: I903d111822d1958fb53c43932b2df1393c841c71
Merged-In: I624169c76e4c9efa30d922235616190666ae949e
Merged-In: I2b4082dd65f06d2d08706ac3db017ac1495aefed
Or the activity remained in PAUSING state and prevents the
activity to stop after screen off until stop timeout.
Bug: 202345179
Test: atest PinnedStackTests
Change-Id: Ibb8b3c48d483dcb96207ec2395a87b31d8eb107e
1. Move responsibility for the bouncer container to the
NotificationShadeWindowViewController
2. Start very basic keyguard documentation (much more to come)
Bug: 195430376
Test: atest KeyguardBouncerTest StatusBarTest StatusBarKeyguardViewManagerTest
NotificationPanelViewControllerTest
Change-Id: Iba45a9252fd37c00b2023407eb44bd91c44a87ad
Creates controllers in the Shell that manipulate
SurfaceControl leashes of the current active
split screen surfaces based on the current
unfold transition progress.
Bug: 193795566
Test: manual
Change-Id: Ib80807c632444b2939e9b075fb24fd40cc14648a
This change disables special pull-down gesture from the top left corner that would normally open expanded quick settings.
That gesture is not as relevant for large screen devices as collapsed QS is more functional already.
Also disabling it means that pull down would always trigger usual lockscreen to shade animation which works nicely already and doesn't require any special work.
Fixes: 190504112
Test: NotificationPanelViewControllerTest
Change-Id: I303c59b06ec28df1251baa0045612cc67a8b8454
This change resets the brightness short term model when RBC is turned
off or the strength is changed. We add a singular interaction when RBC is turned on, and add
interactions in RBC as normal.
Since users turning RBC in a bright environment could want any
brightness between the given one and MAX, but turning RBC off will often result in
a MAX interaction being logged, if the slider is already at MAX (given
RBC) which is not necessarily what we want.
In order to prevent unwanted changes to the brightness curve, we ignore
interactions that turn RBC off. Turning RBC on seems like a valid
indicator that the user wants the brightness darker, and at a specific
brightness, however turning RBC off is less of an indicator. Changing
the strength of RBC is also a good time to reset the short term model,
however after resetting, we still add an interaction after this.
Bug: 199187829
Test: manual
Change-Id: I6512d9642f2da634aa60af6b5573c792c0a116d5
- The permission is need to assign an Activity to TDA in CarLauncher.
- The permission is used in CarActivityManagerTest.
Bug: 200044674
Test: atest CarActivityManagerTest.
Change-Id: I1d5d520ec44f86c1220e89a0a756757d96676da6
Each callback will map to a unique id. The id is stored in an enum, and we use the ordering of the enum to determine the order the callbacks should run in.
Test: locally on device
Test: atest WmTests:ActivityStartInterceptorTest
Test: atest WmTests:ActivityTaskManagerServiceTests
Bug: 191994709
Bug: 191996331
Bug: 200324021
Change-Id: I34a1e88852b51444fff751b25e138a44f45e1773
Required support if the platform supports 14 or 16
channels internally, otherwise CTS test fails.
Test: atest AudioTrackTest#testImmersiveAudio
Bug: 202162797
Change-Id: I052f2e38a27a63e5304b7fb6bffaaabe37efa8eb
The guest user cannot have extra apps, hence the DPC app is not
installed. We could try to bypass that restriction, but it could
cause other issues down the road; besides, on phones the guest
user is not managed neither and DPM doesn't provide an API to
created managed guests.
Test: manual verification using TestDpc
Fixes: 202327386
Change-Id: I02f963bc84325dd73a18abb7103fc34d4960005d