summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2014-09-12 14:45:45 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-09-12 14:45:46 +0000
commit37b44cc1a4794cbe6145053dce82cc8cef38eb3b (patch)
tree9ce5ea2bdfa51d0019bb02c37de3d4db11e00410 /src
parentcb213ba78ea66ea6576cbe46ec83ebb1e2f904e0 (diff)
parent02b508110484906118c277368d570a707604ec9c (diff)
downloadandroid_packages_apps_Trebuchet-37b44cc1a4794cbe6145053dce82cc8cef38eb3b.tar.gz
android_packages_apps_Trebuchet-37b44cc1a4794cbe6145053dce82cc8cef38eb3b.tar.bz2
android_packages_apps_Trebuchet-37b44cc1a4794cbe6145053dce82cc8cef38eb3b.zip
Merge "Fixing wrong views being made visible when opening all apps" into ub-now-porkchop
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher3/CellLayout.java5
1 files changed, 1 insertions, 4 deletions
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() {