Move DesktopVisibilityController to TouchInteractionService

Moved DesktopVisibilityController to TIS for 3P launcher support.

Flag: EXEMPT bug fix
Fixes: 338063030
Fixes: 357859025
Test: Launched overview and resumed desktop task from desktop mode on 1P and 3P launchers
Change-Id: I64e99a32ed13bcb6e4a81a18c29df2643373dc35
This commit is contained in:
Schneider Victor-Tulias committed 2024-09-11 09:56:35 -07:00
1 parent a0e8f546f4
commit 2b46c945a7
30 files changed
+314 -229

No files matched your search

@@ -187,11 +187,6 @@ public class DisplayController implements ComponentCallbacks, SafeCloseable {
return INSTANCE.get(context).getInfo().isTransientTaskbar();
}
/** Returns whether we are currently in Desktop mode. */
public static boolean isInDesktopMode(Context context) {
return INSTANCE.get(context).getInfo().isInDesktopMode();
}
/**
* Handles info change for desktop mode.
*/
@@ -496,10 +491,6 @@ public class DisplayController implements ComponentCallbacks, SafeCloseable {
return navigationMode == NavigationMode.NO_BUTTON && !isTransientTaskbar();
}
public boolean isInDesktopMode() {
return mIsInDesktopMode;
}
/**
* Returns {@code true} if the bounds represent a tablet.
*/