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

Commit 82768db5 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 27046 into eclair

* changes:
  Add a method to destroy the RS object.
parents d1cfd259 5fda65f1
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -153,6 +153,9 @@ public class RSSurfaceView extends SurfaceView implements SurfaceHolder.Callback
        return createRenderScript(useDepth, false);
    }


    public void destroyRenderScript() {
        mRS.destroy();
        mRS = null;
    }
}