This is a test-only change.
The test is trying to verify the total latency is greater than 0ms.
But if the process goes really fast, it could be done < 1ms so the total
latency is 0ms.
This issue is fixed in Android T and above in ag/16995926.
Bug: 259157403
Test: AppSearchLoggerTest
Change-Id: I15977c7b5ade1109310a98a3e9a21a406b3070a7
The dark scrim was added with a value of 0f (that means, completely black), and then updated in the background thread with a value of 1f (completely transparent).
This was ok when unfolding (as the overlay needed to be black at first), but not when folding (as it needs to be transparent at first)
When the background thread was slow, this was causing one completely black frame at the beginning of the animation.
Bug: 261560634
Test: start unfold animation repeatedly
Change-Id: I98e17d0204cb4d75a85d3c31c6a6faa8e58466f0
Calling Dialog.dismiss() requires a safe condition, including that
dialog is shown,and activity is neither finishing nor destroying, so we
should add a precondition check here to avoid crash.
Bug: 248562161
Test: manual and atest
Change-Id: I87de2cd05680815d4bb4e80ac1e0d6e2e4a685f7
Adds two UiEvents when media session is added, the first one is logged when the carousel contains only one media player. The second event when the carousel has multiples, it is logged only once.
Bug: 241485754
Test: Tried log.e() and checked that it is working as explained in the
description.
Change-Id: I8380bfd14cde5c38b2940023e7ddce01fe3128ad
This is a test-only change.
The test is trying to verify the total latency is greater than 0ms.
But if the process goes really fast, it could be done < 1ms so the total
latency is 0ms.
This issue is fixed in Android T and above in ag/16995926.
Bug: 259157403
Test: AppSearchLoggerTest
Change-Id: I15977c7b5ade1109310a98a3e9a21a406b3070a7
The issue is likely caused by QS tiles not getting redistributed in PagedTileLayout#onConfigurationChanged which does it only when orientation changes. One fix would be to remove that condition at all but then we would be redistributing for every configuration change or we'd need to make PagedTileLayout aware of split shade - none of these options seem good.
So the solution here is to force redistribution from QSPanelControllerBase which is already aware of split shade and can listen to changes there.
I'll also add more logs (in case bug is not fixed) in follow-up CL.
Bug: 255208946
Test: there is no reliable way to reproduce the issue, we'll see if it stops happening
Test: QSPanelControllerTest
Change-Id: I81630b6eec16237a1a665982553dfc5b9dbac54b
This creates a TintedIcon & TintedIconViewBinder and forces all chipbar
clients to provide the tint.
Fixes: 260954564
Test: active unlock chipbar watch icon has correct tint in light and
dark mode
Test: media ttt chipbar with default icon and app icon has correct tint
in light and dark mode
Test: media ttt receiver default icon has correct tint in light and dark
mode
Test: atest MediaTttUtilsTest MediaTttChipControllerReceiverTest
ChipbarCoordinatorTest
Change-Id: Ic5d0a97a41b78c851da78d0b159011b27086f8c6
The autosizing logic seems to have inadvertent side effects. Will remove
this for now.
The autosizing logic was added in ag/20612038. I'm opting to fix forward
because other changes were added into that CL.
Fixes: 261552438
Test: open up bouncer.
Change-Id: I44c41c93ad235b09fc6e4e9966b24c6b4fdcd915
Adding a flag DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED
when getting display list to calculate the size
of the unfold overlay.
Bug: 261591746
Bug: 221071695
Test: manual unfolds => check size is correct
Change-Id: I87990ec13eb726f9c70a05953462d011da4fb952
for the modern bouncer. We will maintain the old version suffixed with
_Old and delete it when we do cleanup. I have copied the tests and
replaced all bouncer references to use the bouncer interactor.
Fixes: 261172736
Test: atest StatusBarKeyguardViewManagerTest
Test: atest StatusBarKeyguardViewManagerTest_Old
Change-Id: I605481ed6d2d323ab3a3911e58dc725cda23b1fc
Currently isSimPortAvailable API returns true if the port is active without any profile enabled on it or the calling app has carrier privileges over the selected port. It is hampering switching to MEP mode when the psim is active and empty.
Test: Manually verified isSimPortAvailable API behavior on C10 with EuiccPartnerApp.
Bug: 240273417
Change-Id: I4c9ad2bc6f1093163290be0e47f8a065245e5783