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

Commit 41ceb907 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 22186 into eclair

* changes:
  Allow null to be re-bound as a root script.  This was always legal from native and just a limitation of the java binding for the API.
parents 9468f800 d8e4161f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -281,7 +281,11 @@ public class RenderScript {
    // Root state

    public void contextBindRootScript(Script s) {
        nContextBindRootScript(s.mID);
        int id = 0;
        if(s != null) {
            id = s.mID;
        }
        nContextBindRootScript(id);
    }

    //public void contextBindSampler(Sampler s, int slot) {