Make TaskAnimationManager per-display

Test: locally tested on Tangor
Flag: com.android.launcher3.enable_overview_on_connected_displays
Bug: 402362875
Change-Id: I6acb166c200e8bd9198e2aa73e506b3c3414f526
This commit is contained in:
Will Osborn
2025-02-24 17:14:03 +00:00
parent 9419102ec1
commit 6c413c1e80
10 changed files with 94 additions and 33 deletions
@@ -551,4 +551,13 @@ public class ActiveGestureProtoLogProxy {
displayRotation, displaySize.flattenToString(), swipeRegion.toShortString(),
ohmRegion.toShortString(), gesturalHeight, largerGesturalHeight, reason);
}
public static void logOnTaskAnimationManagerNotAvailable(int displayId) {
ActiveGestureLog.INSTANCE.addLog(new ActiveGestureLog.CompoundString(
"TaskAnimationManager not available for displayId=%d",
displayId));
if (!enableActiveGestureProtoLog() || !isProtoLogInitialized()) return;
ProtoLog.d(ACTIVE_GESTURE_LOG, "TaskAnimationManager not available for displayId=%d",
displayId);
}
}