Merge "Move live tile app to top when the task view is tapped" into sc-v2-dev
This commit is contained in:
commit
1edee616ae
|
@ -647,6 +647,15 @@ public class TaskView extends FrameLayout implements Reusable {
|
|||
mActivity.getStateManager(), recentsView,
|
||||
recentsView.getDepthController());
|
||||
anim.addListener(new AnimatorListenerAdapter() {
|
||||
@Override
|
||||
public void onAnimationStart(Animator animation) {
|
||||
recentsView.runActionOnRemoteHandles(
|
||||
(Consumer<RemoteTargetHandle>) remoteTargetHandle ->
|
||||
remoteTargetHandle
|
||||
.getTaskViewSimulator()
|
||||
.setDrawsBelowRecents(false));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAnimationEnd(Animator animator) {
|
||||
mIsClickableAsLiveTile = true;
|
||||
|
|
Loading…
Reference in New Issue