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

Commit 9970aee6 authored by Hui Shu's avatar Hui Shu
Browse files

Remove the return value of invokeFunctor

BUG: 15513308

Change-Id: I900800a6c63f15bf68afaf66b34303039038d3c2
parent 51fa6bcb
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) {