OSDN Git Service

Fixing Search drop target bar stays visible, until the first time
authorSunny Goyal <sunnygoyal@google.com>
Sat, 30 Jan 2016 02:38:34 +0000 (18:38 -0800)
committerSunny Goyal <sunnygoyal@google.com>
Sat, 30 Jan 2016 02:39:26 +0000 (18:39 -0800)
an item is picked up

Change-Id: I48ac697147ffe7a1f8802ed00de4fa4006a1878e

src/com/android/launcher3/SearchDropTargetBar.java

index 772a334..aad6dbc 100644 (file)
@@ -116,6 +116,8 @@ public class SearchDropTargetBar extends FrameLayout implements DragController.D
 
         // Create the various fade animations
         mDropTargetBar.setAlpha(0f);
+        AlphaUpdateListener.updateVisibility(mDropTargetBar, mAccessibilityEnabled);
+
         mDropTargetBarAnimator = new LauncherViewPropertyAnimator(mDropTargetBar);
         mDropTargetBarAnimator.setInterpolator(sAccelerateInterpolator);
         mDropTargetBarAnimator.addListener(new AnimatorListenerAdapter() {