From dcbcc86353e9ed52daac87f292aece667cd0ac71 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Tue, 12 Aug 2014 15:58:36 -0700 Subject: Updating the UI for focused state of an icon/folder. issue: 16352129 Change-Id: If2e154dba06a0648f933f9aea38898642db9fd85 --- src/com/android/launcher3/CellLayout.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/com/android/launcher3/CellLayout.java') diff --git a/src/com/android/launcher3/CellLayout.java b/src/com/android/launcher3/CellLayout.java index 107376482..07120c5e4 100644 --- a/src/com/android/launcher3/CellLayout.java +++ b/src/com/android/launcher3/CellLayout.java @@ -989,10 +989,7 @@ public class CellLayout extends ViewGroup { } public ShortcutAndWidgetContainer getShortcutsAndWidgets() { - if (getChildCount() > 0) { - return (ShortcutAndWidgetContainer) getChildAt(0); - } - return null; + return mShortcutsAndWidgets; } public View getChildAt(int x, int y) { -- cgit v1.2.3