Adding open/close animartion when launching app-info target
Bug: 356914468 Test: Verified manually Flag: EXEMPT bugfix Change-Id: I3a4e48363728153a96c75466824fb03de44c0ad9
This commit is contained in:
@@ -327,7 +327,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
||||
* @return ActivityOptions with remote animations that controls how the window of the opening
|
||||
* targets are displayed.
|
||||
*/
|
||||
public ActivityOptionsWrapper getActivityLaunchOptions(View v) {
|
||||
public ActivityOptionsWrapper getActivityLaunchOptions(View v, ItemInfo itemInfo) {
|
||||
boolean fromRecents = isLaunchingFromRecents(v, null /* targets */);
|
||||
RunnableList onEndCallback = new RunnableList();
|
||||
|
||||
@@ -357,7 +357,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
||||
|
||||
IBinder cookie = mAppLaunchRunner.supportsReturnTransition()
|
||||
? ((ContainerAnimationRunner) mAppLaunchRunner).getCookie() : null;
|
||||
addLaunchCookie(cookie, (ItemInfo) v.getTag(), options);
|
||||
addLaunchCookie(cookie, itemInfo, options);
|
||||
|
||||
// Register the return animation so it can be triggered on back from the app to home.
|
||||
maybeRegisterAppReturnTransition(v);
|
||||
|
||||
Reference in New Issue
Block a user