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

Commit e8667d6c authored by Beverly's avatar Beverly
Browse files

Update toast parameters instead of re-adding

To avoid a race condition

Test: manual
Fixes: 180615914
Change-Id: I9b39fd2f495605065c1a90ae3ffd5e59a1463fda
parent 59536a1e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -184,7 +184,7 @@ public class ToastPresenter {
        mParams.y = yOffset;
        mParams.horizontalMargin = horizontalMargin;
        mParams.verticalMargin = verticalMargin;
        addToastView();
        mView.setLayoutParams(mParams);
    }

    /**