Merge "FreeformHandler should just intercept, not claim animations" into tm-qpr-dev am: d4714815f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19536295 Change-Id: Ib5330c3c098242a634020c3bc931bcdf7a6c9b81 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -122,7 +122,6 @@ public class FreeformTaskTransitionHandler
|
||||
break;
|
||||
case WindowManager.TRANSIT_TO_BACK:
|
||||
case WindowManager.TRANSIT_TO_FRONT:
|
||||
transitionHandled = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -147,7 +146,9 @@ public class FreeformTaskTransitionHandler
|
||||
return false;
|
||||
}
|
||||
mFreeformTaskListener.createWindowDecoration(change, startT, finishT);
|
||||
return true;
|
||||
|
||||
// Intercepted transition to manage the window decorations. Let other handlers animate.
|
||||
return false;
|
||||
}
|
||||
|
||||
private boolean startCloseTransition(
|
||||
@@ -164,7 +165,8 @@ public class FreeformTaskTransitionHandler
|
||||
windowDecors.add(windowDecor);
|
||||
}
|
||||
|
||||
return true;
|
||||
// Intercepted transition to manage the window decorations. Let other handlers animate.
|
||||
return false;
|
||||
}
|
||||
|
||||
private boolean startChangeTransition(
|
||||
|
||||
Reference in New Issue
Block a user