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:
1 parent
95ff5cf63e
commit
670473301a
5 files changed
+35
-24
No files matched your search
@@ -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