Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0609c15a authored by Winson's avatar Winson Committed by Android Git Automerger
Browse files

am 81c5f7e3: Fixing issue with search bar not being visible.

* commit '81c5f7e3':
  Fixing issue with search bar not being visible.
parents 2e7e5776 81c5f7e3
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -187,7 +187,12 @@ public class SearchDropTargetBar extends FrameLayout implements DragController.D
     */
    private void animateViewAlpha(LauncherViewPropertyAnimator animator, View v, float alpha,
            int duration) {
        if (v != null && Float.compare(v.getAlpha(), alpha) != 0) {
        if (v == null) {
            return;
        }

        animator.cancel();
        if (Float.compare(v.getAlpha(), alpha) != 0) {
            if (duration > 0) {
                animator.alpha(alpha).withLayer().setDuration(duration).start();
            } else {