diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2014-08-12 15:58:36 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2014-08-18 13:51:51 -0700 |
commit | dcbcc86353e9ed52daac87f292aece667cd0ac71 (patch) | |
tree | a0e1c4ca2ba2e9863a2168cbc4299b136cea2f30 /src/com/android/launcher3/CellLayout.java | |
parent | 0fc1be164e982433e619bcbb16aa67e28ff681ef (diff) | |
download | android_packages_apps_Trebuchet-dcbcc86353e9ed52daac87f292aece667cd0ac71.tar.gz android_packages_apps_Trebuchet-dcbcc86353e9ed52daac87f292aece667cd0ac71.tar.bz2 android_packages_apps_Trebuchet-dcbcc86353e9ed52daac87f292aece667cd0ac71.zip |
Updating the UI for focused state of an icon/folder.
issue: 16352129
Change-Id: If2e154dba06a0648f933f9aea38898642db9fd85
Diffstat (limited to 'src/com/android/launcher3/CellLayout.java')
-rw-r--r-- | src/com/android/launcher3/CellLayout.java | 5 |
1 files changed, 1 insertions, 4 deletions
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) { |