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

Commit c59d93f9 authored by Hui Shu's avatar Hui Shu Committed by Android (Google) Code Review
Browse files

Merge "Remove the return value of invokeFunctor"

parents e85eee82 9970aee6
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -670,11 +670,8 @@ public final class ViewRootImpl implements ViewParent,
     *                          has invoked. If false, the functor may be invoked
     *                          asynchronously.
     */
    public boolean invokeFunctor(long functor, boolean waitForCompletion) {
    public void invokeFunctor(long functor, boolean waitForCompletion) {
        ThreadedRenderer.invokeFunctor(functor, waitForCompletion);
        // TODO: Remove the return value. This is here for compatibility
        // with current webview, which expects a boolean
        return true;
    }

    private void enableHardwareAcceleration(WindowManager.LayoutParams attrs) {