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

Commit 74135252 authored by Selim Cinek's avatar Selim Cinek Committed by Automerger Merge Worker
Browse files

Merge "Fix notification expand-collapse crossfade issue" into tm-qpr-dev am:...

Merge "Fix notification expand-collapse crossfade issue" into tm-qpr-dev am: 006055d4 am: 271fe577

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22180264



Change-Id: I6100833e4e2ef221903f732cabb361c6531daa80
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 401ea70f 271fe577
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -77,12 +77,6 @@ public class CrossFadeHelper {
     */
    public static void fadeOut(View view, float fadeOutAmount, boolean remap) {
        view.animate().cancel();

        // Don't fade out if already not visible.
        if (view.getAlpha() == 0.0f) {
            return;
        }

        if (fadeOutAmount == 1.0f && view.getVisibility() != View.GONE) {
            view.setVisibility(View.INVISIBLE);
        } else if (view.getVisibility() == View.INVISIBLE) {