Fixed 3073371: Home screen locked after app launch

Change-Id: Iedac4b94d20cc3352aa247c58978a8f60df1a09f
This commit is contained in:
Michael Jurka
2010-10-10 15:15:47 -07:00
parent 3e7c763453
commit c86756c201
+6 -2
View File
@@ -910,8 +910,12 @@ public class Workspace extends SmoothPagedView
cl.setRotationY(rotation);
}
}
s.addListener(mUnshrinkAnimationListener);
s.start();
if (animated) {
// If we call this when we're not animated, onAnimationEnd is never called on
// the listener; make sure we only use the listener when we're actually animating
s.addListener(mUnshrinkAnimationListener);
s.start();
}
}
}