Refactor OverviewOnConnectedDisplays flag

and switch from DesktopModeFlags to DesktopExperienceFlags

Bug: 413609179
Flag: EXEMPT refactor
Test: local + presubmit
Change-Id: I3b57e501bbf62400a9977ddcd2503be73f835b5a
This commit is contained in:
Will Osborn committed 2025-04-25 20:13:28 +00:00
1 parent 05e4134b73
commit c21905eb75
14 files changed
+45 -33

No files matched your search

@@ -730,7 +730,7 @@ public class TaskbarManagerImpl implements DisplayDecorationListener {
/** Creates a {@link TaskbarUIController} to use with non default displays. */
private TaskbarUIController createTaskbarUIControllerForNonDefaultDisplay(int displayId) {
debugPrimaryTaskbar("createTaskbarUIControllerForNonDefaultDisplay");
if (RecentsWindowFlags.Companion.getEnableOverviewInWindow()) {
if (RecentsWindowFlags.getEnableOverviewInWindow()) {
RecentsViewContainer rvc = mRecentsWindowManagerRepository.get(displayId);
if (rvc != null) {
return createTaskbarUIControllerForRecentsViewContainer(rvc);