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

Commit 593007b8 authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Remove incorrect isEnabled() check"

parents 64d1fbfa 9d7ee60e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -656,7 +656,7 @@ public final class ViewRootImpl implements ViewParent,
    }

    public boolean invokeFunctor(long functor, boolean waitForCompletion) {
        if (mAttachInfo.mHardwareRenderer == null || !mAttachInfo.mHardwareRenderer.isEnabled()) {
        if (mAttachInfo.mHardwareRenderer == null) {
            return false;
        }
        mAttachInfo.mHardwareRenderer.invokeFunctor(functor, waitForCompletion);