Merge "FreeformHandler should just intercept, not claim animations" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d4714815f1
@@ -122,7 +122,6 @@ public class FreeformTaskTransitionHandler
|
|||||||
break;
|
break;
|
||||||
case WindowManager.TRANSIT_TO_BACK:
|
case WindowManager.TRANSIT_TO_BACK:
|
||||||
case WindowManager.TRANSIT_TO_FRONT:
|
case WindowManager.TRANSIT_TO_FRONT:
|
||||||
transitionHandled = true;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -147,7 +146,9 @@ public class FreeformTaskTransitionHandler
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
mFreeformTaskListener.createWindowDecoration(change, startT, finishT);
|
mFreeformTaskListener.createWindowDecoration(change, startT, finishT);
|
||||||
return true;
|
|
||||||
|
// Intercepted transition to manage the window decorations. Let other handlers animate.
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean startCloseTransition(
|
private boolean startCloseTransition(
|
||||||
@@ -164,7 +165,8 @@ public class FreeformTaskTransitionHandler
|
|||||||
windowDecors.add(windowDecor);
|
windowDecors.add(windowDecor);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
// Intercepted transition to manage the window decorations. Let other handlers animate.
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean startChangeTransition(
|
private boolean startChangeTransition(
|
||||||
|
|||||||
Reference in New Issue
Block a user