Merge "Fix janky transition on All Apps tab switch" into jb-mr1.1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ce552e9196
@@ -282,10 +282,15 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
|
|||||||
reloadCurrentPage();
|
reloadCurrentPage();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
AnimatorSet animSet = LauncherAnimUtils.createAnimatorSet();
|
|
||||||
|
final AnimatorSet animSet = LauncherAnimUtils.createAnimatorSet();
|
||||||
animSet.playTogether(outAnim, inAnim);
|
animSet.playTogether(outAnim, inAnim);
|
||||||
animSet.setDuration(duration);
|
animSet.setDuration(duration);
|
||||||
animSet.start();
|
post(new Runnable() {
|
||||||
|
public void run() {
|
||||||
|
animSet.start();
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user