mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Improve widget-activity transition animation for translucent activities
Activities may be translucent. In that case, the widget should not visually be a part of the activity launch or return animations. Bug: 169042867 Test: manual Change-Id: Ifb690672f71854e491fa240a6c7f0d882910a47c
This commit is contained in:
@@ -783,7 +783,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
||||
final FloatingWidgetView floatingView = FloatingWidgetView.getFloatingWidgetView(mLauncher,
|
||||
v, widgetBackgroundBounds,
|
||||
new Size(windowTargetBounds.width(), windowTargetBounds.height()),
|
||||
finalWindowRadius);
|
||||
finalWindowRadius, appTargetsAreTranslucent);
|
||||
final float initialWindowRadius = supportsRoundedCornersOnWindows(mLauncher.getResources())
|
||||
? floatingView.getInitialCornerRadius() : 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user