commit | dcbcc86353e9ed52daac87f292aece667cd0ac71 | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Tue Aug 12 15:58:36 2014 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Mon Aug 18 13:51:51 2014 -0700 |
tree | a0e1c4ca2ba2e9863a2168cbc4299b136cea2f30 | |
parent | 0fc1be164e982433e619bcbb16aa67e28ff681ef [diff] [blame] |
Updating the UI for focused state of an icon/folder. issue: 16352129 Change-Id: If2e154dba06a0648f933f9aea38898642db9fd85
diff --git a/src/com/android/launcher3/CellLayout.java b/src/com/android/launcher3/CellLayout.java index 1073764..07120c5 100644 --- a/src/com/android/launcher3/CellLayout.java +++ b/src/com/android/launcher3/CellLayout.java
@@ -989,10 +989,7 @@ } public ShortcutAndWidgetContainer getShortcutsAndWidgets() { - if (getChildCount() > 0) { - return (ShortcutAndWidgetContainer) getChildAt(0); - } - return null; + return mShortcutsAndWidgets; } public View getChildAt(int x, int y) {