summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/BubbleTextView.java
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2011-11-29 09:57:21 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-11-29 09:57:21 -0800
commit7423fb5352c3e02979f653267974b5de5c4f90c7 (patch)
tree007c00e6037604e089a2472e9810f81dc6069dac /src/com/android/launcher2/BubbleTextView.java
parenta01902ffbd51d4952efb0794853a1c0dc2f8c353 (diff)
parentc786952c9d2277a3cf631ab425dcfaf6dee6a9ea (diff)
downloadandroid_packages_apps_Trebuchet-7423fb5352c3e02979f653267974b5de5c4f90c7.tar.gz
android_packages_apps_Trebuchet-7423fb5352c3e02979f653267974b5de5c4f90c7.tar.bz2
android_packages_apps_Trebuchet-7423fb5352c3e02979f653267974b5de5c4f90c7.zip
Merge "Restoring mLayout has private in TextView"
Diffstat (limited to 'src/com/android/launcher2/BubbleTextView.java')
-rw-r--r--src/com/android/launcher2/BubbleTextView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/BubbleTextView.java b/src/com/android/launcher2/BubbleTextView.java
index dc498a403..01417bf37 100644
--- a/src/com/android/launcher2/BubbleTextView.java
+++ b/src/com/android/launcher2/BubbleTextView.java
@@ -134,7 +134,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;