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

Commit a7914bb3 authored by Kean Mariotti's avatar Kean Mariotti Committed by Android (Google) Code Review
Browse files

Merge "viewcapture: remove runOnUiThread() call" into main

parents 745ad89c b77106a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -140,7 +140,7 @@ public abstract class ViewCapture {

        mListeners.add(listener);

        runOnUiThread(() -> view.getContext().registerComponentCallbacks(listener), view);
        view.getContext().registerComponentCallbacks(listener);

        return () -> {
            if (listener.mRoot != null && listener.mRoot.getContext() != null) {