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

Commit 28d89f4d authored by Selim Cinek's avatar Selim Cinek Committed by Android Git Automerger
Browse files

am ee9b2261: am 71aa3b21: am 0d959fd4: am 7617f55e: am a8c247e0: Merge "Fixed...

am ee9b2261: am 71aa3b21: am 0d959fd4: am 7617f55e: am a8c247e0: Merge "Fixed a bug where collapserunnables where dropped" into mnc-dev

* commit 'ee9b2261':
  Fixed a bug where collapserunnables where dropped
parents 7e59257c ee9b2261
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -81,7 +81,6 @@ import android.view.MotionEvent;
import android.view.ThreadedRenderer;
import android.view.VelocityTracker;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup.LayoutParams;
import android.view.ViewStub;
import android.view.WindowManager;
@@ -106,7 +105,6 @@ import com.android.systemui.EventLogConstants;
import com.android.systemui.EventLogTags;
import com.android.systemui.Prefs;
import com.android.systemui.R;
import com.android.systemui.SwipeHelper;
import com.android.systemui.assist.AssistManager;
import com.android.systemui.doze.DozeHost;
import com.android.systemui.doze.DozeLog;
@@ -2150,11 +2148,13 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
    }

    private void runPostCollapseRunnables() {
        int size = mPostCollapseRunnables.size();
        ArrayList<Runnable> clonedList = new ArrayList<>(mPostCollapseRunnables);
        mPostCollapseRunnables.clear();
        int size = clonedList.size();
        for (int i = 0; i < size; i++) {
            mPostCollapseRunnables.get(i).run();
            clonedList.get(i).run();
        }
        mPostCollapseRunnables.clear();

    }

    Animator mScrollViewAnim, mClearButtonAnim;