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

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

am 71aa3b21: am 0d959fd4: am 7617f55e: am a8c247e0: Merge "Fixed a bug where...

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

* commit '71aa3b21':
  Fixed a bug where collapserunnables where dropped
parents 24bfdf35 71aa3b21
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;
@@ -2145,11 +2143,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;