Defer updating alignment when LayoutTransition is running.
This fixes a problem of 3-button variant of pinned taskbar. The code for updating the alignment (taskbar to hotseat) animation clashes with LayoutTransition, leading to weird icon states. This change coordinates these two animation systems. Fix: 409442851 Test: ABTD cherrypick to Q2 release candidate (manual) Flag: com.android.window.flags.enable_taskbar_recents_layout_transition Change-Id: Ifa80c384500a9cd3e65090ee39487977a2ac3b5d
This commit is contained in:
1 parent
70901445dc
commit
6b4b65f42b
2 files changed
+39
-1
No files matched your search
@@ -132,7 +132,7 @@ public class TaskbarViewCallbacks {
|
||||
* Notifies launcher to update icon alignment.
|
||||
*/
|
||||
public void notifyIconLayoutBoundsChanged() {
|
||||
mControllers.uiController.onIconLayoutBoundsChanged();
|
||||
mControllers.taskbarViewController.notifyIconLayoutBoundsChanged();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user