Fix issue #3382992: IME close animation stutters from URL bar
Gross hack is grosser.
Change-Id: I0a34bf1d7c16c547402318f24776a5f7e8b7552b
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index 449091a..b789524 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -11387,6 +11387,11 @@
}
}
+ /** @hide */
+ public void hackTurnOffWindowResizeAnim(boolean off) {
+ mAttachInfo.mTurnOffWindowResizeAnim = off;
+ }
+
/**
* Interface definition for a callback to be invoked when a key event is
* dispatched to this view. The callback will be invoked before the key
@@ -11653,6 +11658,11 @@
boolean mScalingRequired;
/**
+ * If set, ViewRoot doesn't use its lame animation for when the window resizes.
+ */
+ boolean mTurnOffWindowResizeAnim;
+
+ /**
* Left position of this view's window
*/
int mWindowLeft;