diff options
author | Michael Jurka <mikejurka@google.com> | 2012-11-21 11:53:38 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-11-21 11:53:38 -0800 |
commit | ce552e91962bb343ef8cf074e2714aac2d5e710d (patch) | |
tree | 352e6981115f58e2f5335e4324382a3915e7ab49 /src | |
parent | 2ee5fe77db4f3269f538272231de24786c112f1d (diff) | |
parent | 7f9ddd84353451e72f48f34a8d280d5e873b2f45 (diff) | |
download | packages_apps_trebuchet-ce552e91962bb343ef8cf074e2714aac2d5e710d.zip packages_apps_trebuchet-ce552e91962bb343ef8cf074e2714aac2d5e710d.tar.gz packages_apps_trebuchet-ce552e91962bb343ef8cf074e2714aac2d5e710d.tar.bz2 |
Merge "Fix janky transition on All Apps tab switch" into jb-mr1.1-dev
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/launcher2/AppsCustomizeTabHost.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/com/android/launcher2/AppsCustomizeTabHost.java b/src/com/android/launcher2/AppsCustomizeTabHost.java index 96ec33e..19bc682 100644 --- a/src/com/android/launcher2/AppsCustomizeTabHost.java +++ b/src/com/android/launcher2/AppsCustomizeTabHost.java @@ -282,10 +282,15 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona reloadCurrentPage(); } }); - AnimatorSet animSet = LauncherAnimUtils.createAnimatorSet(); + + final AnimatorSet animSet = LauncherAnimUtils.createAnimatorSet(); animSet.playTogether(outAnim, inAnim); animSet.setDuration(duration); - animSet.start(); + post(new Runnable() { + public void run() { + animSet.start(); + } + }); } }); } |