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

Commit bc38028c authored by Mady Mellor's avatar Mady Mellor Committed by Gerrit Code Review
Browse files

Merge "Avoid CalledFromWrongThreadException in BubbleController" into main

parents e59b7500 59eaf312
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -307,16 +307,20 @@ public class BubbleController implements ConfigurationChangeListener {
                new OneHandedTransitionCallback() {
                    @Override
                    public void onStartFinished(Rect bounds) {
                        mMainExecutor.execute(() -> {
                            if (mStackView != null) {
                                mStackView.onVerticalOffsetChanged(bounds.top);
                            }
                        });
                    }

                    @Override
                    public void onStopFinished(Rect bounds) {
                        mMainExecutor.execute(() -> {
                            if (mStackView != null) {
                                mStackView.onVerticalOffsetChanged(bounds.top);
                            }
                        });
                    }
                });
    }