commit | c786952c9d2277a3cf631ab425dcfaf6dee6a9ea | [log] [tgz] |
---|---|---|
author | Gilles Debunne <debunne@google.com> | Mon Nov 28 18:03:56 2011 -0800 |
committer | Gilles Debunne <debunne@google.com> | Mon Nov 28 18:03:56 2011 -0800 |
tree | 44ecd8aef0be61e7cf53f1068455b1be8ad1ff37 | |
parent | 043545a3c03e8d05a0fb49b1f539e77b8df0703b [diff] [blame] |
Restoring mLayout has private in TextView Change-Id: I3424b2469b8b566e604247694a9bf6f4bc0e6250
diff --git a/src/com/android/launcher2/BubbleTextView.java b/src/com/android/launcher2/BubbleTextView.java index 49c47ce..635e4d9 100644 --- a/src/com/android/launcher2/BubbleTextView.java +++ b/src/com/android/launcher2/BubbleTextView.java
@@ -135,7 +135,7 @@ mPressedOrFocusedBackground = null; } if (isFocused()) { - if (mLayout == null) { + if (getLayout() == null) { // In some cases, we get focus before we have been layed out. Set the // background to null so that it will get created when the view is drawn. mPressedOrFocusedBackground = null;