am ffe3b5b8: Merge "Exempt the notification panel from animation lockout." into jb-mr2-dev

* commit 'ffe3b5b89fa58f7b12a2fc690c89480fc16a9fd6':
  Exempt the notification panel from animation lockout.
This commit is contained in:
Daniel Sandler
2013-05-09 11:30:58 -07:00
committed by Android Git Automerger

View File

@@ -24,6 +24,7 @@ import android.util.Log;
import android.view.KeyEvent; import android.view.KeyEvent;
import android.view.MotionEvent; import android.view.MotionEvent;
import android.view.View; import android.view.View;
import android.view.ViewRootImpl;
import android.widget.FrameLayout; import android.widget.FrameLayout;
import android.widget.ScrollView; import android.widget.ScrollView;
import android.widget.TextSwitcher; import android.widget.TextSwitcher;
@@ -63,6 +64,13 @@ public class StatusBarWindowView extends FrameLayout
mExpandHelper = new ExpandHelper(mContext, latestItems, minHeight, maxHeight); mExpandHelper = new ExpandHelper(mContext, latestItems, minHeight, maxHeight);
mExpandHelper.setEventSource(this); mExpandHelper.setEventSource(this);
mExpandHelper.setScrollView(mScrollView); mExpandHelper.setScrollView(mScrollView);
// We really need to be able to animate while window animations are going on
// so that activities may be started asynchronously from panel animations
final ViewRootImpl root = getViewRootImpl();
if (root != null) {
root.setDrawDuringWindowsAnimating(true);
}
} }
@Override @Override