Bug: 312816372
Test: perinflate large number of App Icons then rotate screen. Verified 1) preinflation runnable is cancelled and 2) no ViewHolder created from this cancelled runnable is added to RecyclerViewPool
Flag: LEGACY ENABLE_ALL_APPS_RV_PREINFLATION ENABLED
Change-Id: I1a6110278e1af2b32387ab27273106d30513886f
InvariantDeviceProfile hold values that are not related to current DP in use. Now other classes get the value correctly from DeviceProfile, and each posture can hold different values, making it akin to iconSize.
Fix: 309800141
Test: DeviceProfileResponsiveDumpTest
Test: DeviceProfileResponsiveAlternativeDisplaysDumpTest
Test: DeviceProfileDumpTest
Test: DeviceProfileAlternativeDisplaysDumpTest
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Change-Id: I32295738585de67205dcd6c8942d08a3d07d169a
This code flakes in postsubmit and presubmit, but the failure is
not reproducible in local and abtd runs. Landing the change to make postsubmit
flake; then I'll use tricks like tracing to debug the cause.
Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: I77c324d43a2400fe1015f5cd0a4729e34552687c
Looks like vire capture needs some time to stabilize; for now,
it sometimes generates empty view capture data.
Bug: 315482167
Flag: N/A
Test: presubmit
Change-Id: I864ffacf4a3a28cfc01b300ac1df71890f93c5e1
The detector flakes, and I have no bandwidth now to take care of it.
Bug: 309014345
Test: presubmit
Flag: N/A
Change-Id: I97b02736354274a97ed0eb4eb71773a5c858cae4
This will help to ensure that Launcher state has settled before continuing the test.
Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: I810c3bd1da2839a482422396536acd664f3e4b82
After enabling responsive grid all apps container for tablet got wider. The previous calculation to click outside the All Apps container for this test no longer works.
This CL updates the click position to click after the All Apps scrollbar position. Also it changes the click to be right next to the container and not halfway to the edge. The calculation to get the position halfway to the edge was leading to a invalid click position where the click was happening inside the 24dp limit of the edge, and it was not dismissing the AllApps container.
Fix: 315076033
Fix: 315084703
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Test: TaplOpenCloseAllApps
Test: TaplTestsTaskbar
Change-Id: I38bcdb4e0d4c27f35a16fa04411c65627bc88b11
This will help to ensure that Launcher state has settled before continuing the test.
Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: Ice7ae8a2517d68c53d135a34cc33e11f3203f788
This also means Taskbar is transient by default in automated tests,
instead of persistent. Updated some checks accordingly.
Flag: LEGACY ENABLE_TRANSIENT_TASKBAR ENABLED
Test: TaskbarExpandCollapse#hideShowTaskbar; TaplTestsTaskbar;
TaplTestsTransientTaskbar; TaplTestsPersistentTaskbar
Bug: 270395798
Change-Id: Ie7b8fcedb94e33742b7bf18cb829dab55af74b7d