From 02b508110484906118c277368d570a707604ec9c Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Wed, 10 Sep 2014 15:44:42 -0700 Subject: Fixing wrong views being made visible when opening all apps issue: 17422327 Change-Id: I18175ecba154dff3ff5d7e1b16696ca46c7aeae8 --- 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 d0b3f4376..0ff1ef4ad 100644 --- a/src/com/android/launcher3/CellLayout.java +++ b/src/com/android/launcher3/CellLayout.java @@ -959,10 +959,7 @@ public class CellLayout extends ViewGroup { } public void setShortcutAndWidgetAlpha(float alpha) { - final int childCount = getChildCount(); - for (int i = 0; i < childCount; i++) { - getChildAt(i).setAlpha(alpha); - } + mShortcutsAndWidgets.setAlpha(alpha); } public ShortcutAndWidgetContainer getShortcutsAndWidgets() { -- cgit v1.2.3