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

Commit b8da225f authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by android code review
Browse files

Merge "Tests/RS: Add RS context check for RsBalls setAccel()"

parents 26f8ce83 da1c93ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ public class BallsView extends RSSurfaceView {
    }

    void setAccel(float x, float y, float z) {
        if (mRender == null) {
        if ((mRender == null) || (mRS == null)) {
            return;
        }
        mRender.setAccel(x, -y);