* changes:
Move app timer in the taskContentView behind a refactor flag.
Change task content view to be a constraint layout.
Extract out timer text specific utility from the dwb view
Add a ui state for the app timer toast and add a mapper function for it
Both flags are in Nextfood, so there will be no change to
user experience.
Bug: 368119679
Bug: 375627272
Test: TaskbarOverflowTest
Flag: com.android.window.flags.enable_taskbar_overflow
Change-Id: Ie3ef3bd49e078f5657bd069bc92c5a48a136e7cb
This is for child cl to be able to place dwb inline in it.
Bug: 405359383
Flag: com.android.launcher3.enable_refactor_task_content_view
Test: Screenshot tests
Change-Id: Id3252fff5776c199ae2a0c7e89d96c423241478c
Bug: 405359383
Flag: com.android.launcher3.enable_refactor_digital_wellbeing_toast
Test: Unit test for the util
Change-Id: Ic7444e3e874e3b9870894cd16f7259f6fa1197c6
Bug: 405359383
Flag: com.android.launcher3.enable_refactor_digital_wellbeing_toast
Test: Unit test for mapper
Change-Id: I35271ff33c8610d79674438fb18a3d851eb3d2d3
1. Use UI thread for callback removal
2. Call TISBinderHelper.onDestroy
Bug: 413003643
Test: local test
Flag: EXEMPT bugfix
Change-Id: I99c59842d7b35a52b7ee6424348c1a9ce864f490
- When focused display changes, the KQS view doesn't receive any
KeyEvents thus the view remains open even if user clicks or hits Esc
while on a different display.
- Use FocusState to dismiss KQS if the displayId changes.
Bug: 382762871
Flag: com.android.launcher3.enable_alt_tab_kqs_on_connected_displays
Test: m
Change-Id: Ic34a2bc7863575449e5b5c88377da8b1a8d48c20
Add check of the bubble bar highest size when setting the taskbar window
size from TaskbarViewController.onRotationChanged
Fixes: 407708503
Test: Manual.
Use foldable device, set navigation mode to the 3 buttons. Fold the
device and trigger bubble. Lock screen. Unfold. Unlock screen. The
bubble remains visible.
Flag: EXEMPT bugfix
Change-Id: If16bf289ea394f6586d8530182db000dbcdea214
This brings the BgCallbacks closer to a repository pattern making is easier to switch eventually
Bug: 390572144
Flag: EXEMPT refactor
Test: Updated AsyncBindingTest to use real ModelCalbacks
Change-Id: I9c932b00ea8ac7330473b9c0f5d778453fe7a390
Test: local + unit
Bug: 392703464
Flag: com.android.launcher3.enable_overview_on_connected_displays
Change-Id: I7eb65a1d6b98703a19432b9fa24c3c4b262aa045
Make Taskbars for Detected displays on Boot when Connected.
Bug: 409820188
Flag: com.android.window.flags.enable_taskbar_connected_displays
Test: m
Change-Id: Iac04fe3c5ba8faac7383ed2953ddee99240ce016
Prior to this change, actionsView buttons enabled / disabled state was
coupled to clearAllButton visibility, which was then coupled to scroll
state. Due to an issue where outdated scroll values caused incorrect
visibility calculations for the "clear all" button and consequently
disabled the overview actions, we remove this check.
Fix: 391276638
Flag: EXEMPT. Bugfix
Test: Manual & TaplTestsQuickstep
Change-Id: Ib313deb72e8f01125f15f62e7e9a4af307062060
- getLastComputedGridTaskSize should be used to get the correct size for grid tasks
Fix: 406988799
Test: manual
Flag: com.android.launcher3.enable_grid_only_overview
Change-Id: I7b94e8e03dd7a463417c03e600636cffc3696fdb
Instead of the dispatcher specifying the type, the UI checks th diff. This
ensures that the UI is updated correctly in all paths
Bug: 390572144
Flag: EXEMPT refactor
Test: Manually verified folder edit path where these callbacks were getting dispatched
Change-Id: Ib73eed5da87a847753a78453a48ab4fc495c1199
This CL fixes the nav mode UI checks which currently assumes “navigation
mode” takes effect on all displays although the mode is only effective
on the primary display.
Flag: EXEMPT - test fix
Fix: 408631713
Test: atest WMShellFlickerTestsDesktopMode:com.android.wm.shell.flicker.OpenAppWithExternalDisplayConnected
Change-Id: I29f33957d696e9d5afda844f69388b74a8f78b77