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

Commit 381b1608 authored by Yifei Zhang's avatar Yifei Zhang Committed by Android (Google) Code Review
Browse files

Merge "wmshell: let shell init asynchronously" into main

parents 9522f634 dedd7245
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -293,11 +293,7 @@ public class ShellController {
    private class ShellInterfaceImpl implements ShellInterface {
        @Override
        public void onInit() {
            try {
                mMainExecutor.executeBlocking(() -> ShellController.this.handleInit());
            } catch (InterruptedException e) {
                throw new RuntimeException("Failed to initialize the Shell in 2s", e);
            }
            mMainExecutor.execute(ShellController.this::handleInit);
        }

        @Override