Make a copy at compile time since we need to use it as a mainline module
Bug: 146834818
Test: manual (adb shell cmd phone help)
Change-Id: I4a2f54a0e926aa7040ba91853ca05f4bf38d25ec
Dispatch the copied insets states and controls if the client and the
server are in the same process. Otherwise, changing them at the server
side will affect ones at the client side, and vice versa.
Bug: 118118435
Test: atest InsetsSourceProviderTest InsetsStateControllerTest
InsetsPolicyTest WindowStateTests CommandQueueTest
RegisterStatusBarResultTest InsetsFlagsTest
LightBarControllerTest RegisterStatusBarResultTest
ViewRootImplTest DisplayPolicyLayoutTests
DisplayPolicyInsetsTests DisplayPolicyTests
TaskSnapshotSurfaceTest NavigationBarColorTest
Change-Id: Iabe9fb1f345f576f08b156f32aa9bd3989911149
This CL adds
- connectionState : whether the route is connected/disconnected
- mIconUri : uri of the icon of the route
- deviceType : type of the route (BT, speaker, tv)
into MediaRoute2Info and corresponding tests
Bug: 146605788
Test: atest mediaroutertest
Change-Id: I8b3f33967478fd66d5a380bf5d069579f006b890
When animating during device rotation, there may have a timing that
the display is waiting for the orientation change to complete but
the transiting apps won't be added into the opening/closing list by
the waiting state.
It caused when app transition set ready to go, but no opening or closing app can
check if the app has been drawn, check if the app is wallpaper target, or
check if can upgrade to wallpaper transition.
SplitScreenTests#testMinimizeAndUnminimizeThenGoingHome is an example that will hit
this potential problem and failed to update transition from TRANSIT_TASK_TO_FRONT
to TRANSIT_WALLPAPER_OPEN.
The fix is:
- Add DC#okToDisplay(ignoreFrozen) / WC#okToAnimate(ignoreFrozen) methods to ignore
DisplalyFrozen check in ActivityRecord#setAppVisibility to ensure
that apps in transition are added to opening/closing list and can
update wallpaper transition.
Change-Id: I226da85aceca903bd431cc3f90dc2d2c962a632a
Fix: 145151475
Test: SplitScreenTests#testMinimizeAndUnminimizeThenGoingHome
Add an adapter class to spy on AudioSystem methods used for
device connection / disconnection.
Modify A2DP connection tests to verify that after a device
is made available, it doesn't get disconnected later.
Bug: 146544156
Test: atest AudioDeviceBrokerTest
Change-Id: I897dac774d4de2cb40f29ccba9cdbc3493b3ce01
The CountQuotaTracker and DurationQuotaTracker will both extend this
class to implement their respective tracking. Common code and ancillary
options have been put into the base class.
Bug: 135764360
Test: atest CountQuotaTrackerTest
Test: atest DurationQuotaTrackerTest
Change-Id: I4b55219cd4ea76bf05ddddda10e6fb6b3f187226
Make sure the broadcasts used by the Wi-Fi framework are protected:
i.e. can only be transmitted by privileged components (as opposed to
any 3rd party app).
Bug: 146642727
Test: atest android.net.wifi
Test: atest com.android.server.wifi
Change-Id: I9a0bf4428774b13cc6414a223f378e09341a6a55
With new LMK_SUBSCRIBE lmkd command clients need to subscribe for lmkd
notifications.
Bug: 146597855
Test: run lmkd_unit_test and verify kill notification delivery
Change-Id: Ib54647ce36426a56db3ab6f95f375a0a0ce352ce
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
am skip reason: Change-Id I47239b57bbbd37695fba5a37cc64b78428189a31 with SHA-1 debb4616ef is in history
Change-Id: I2049138c15f96bcc2407d2565686065cad78d164
The base QuotaTracker will use a single alarm for to process in quota
apps, so the dump needs to be changed to reflect the new internal
tracking mechanism.
Bug: 135764360
Test: atest CountQuotaTrackerTest
Test: atest DurationQuotaTrackerTest
Change-Id: Id70f847ba0cb8e76cdf518fe6ac5866397f87e45