From c786952c9d2277a3cf631ab425dcfaf6dee6a9ea Mon Sep 17 00:00:00 2001 From: Gilles Debunne Date: Mon, 28 Nov 2011 18:03:56 -0800 Subject: Restoring mLayout has private in TextView Change-Id: I3424b2469b8b566e604247694a9bf6f4bc0e6250 --- src/com/android/launcher2/BubbleTextView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/com/android/launcher2/BubbleTextView.java b/src/com/android/launcher2/BubbleTextView.java index 49c47cef7..635e4d98b 100644 --- a/src/com/android/launcher2/BubbleTextView.java +++ b/src/com/android/launcher2/BubbleTextView.java @@ -135,7 +135,7 @@ public class BubbleTextView extends TextView { 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; -- cgit v1.2.3