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

Commit 4f706c22 authored by Govinda Wasserman's avatar Govinda Wasserman
Browse files

Reduces Assist Handle fade out duration

This matches home handle behavior and ensures that the handles are gone
when the screen fades.

Test: Tested locally
BUG:133767295
Change-Id: Ib8a5ee8c2a408cdf6f0f0741047b3f9f2d3bddff
FIX:133767295
parent c5e858a2
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -64,6 +64,7 @@ import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.view.ViewGroup.LayoutParams;
import android.view.ViewTreeObserver;
import android.view.ViewTreeObserver;
import android.view.WindowManager;
import android.view.WindowManager;
import android.view.animation.AccelerateInterpolator;
import android.view.animation.Interpolator;
import android.view.animation.Interpolator;
import android.view.animation.PathInterpolator;
import android.view.animation.PathInterpolator;
import android.widget.FrameLayout;
import android.widget.FrameLayout;
@@ -231,7 +232,10 @@ public class ScreenDecorations extends SystemUI implements Tunable,
            anim.start();
            anim.start();
        } else {
        } else {
            view.animate().cancel();
            view.animate().cancel();
            view.animate().setDuration(400).alpha(0f);
            view.animate()
                    .setInterpolator(new AccelerateInterpolator(1.5f))
                    .setDuration(250)
                    .alpha(0f);
        }
        }


    }
    }