Loading rs/java/android/renderscript/Script.java +8 −3 Original line number Diff line number Diff line Loading @@ -251,10 +251,15 @@ public class Script extends BaseObj { "At least one of ain or aout is required to be non-null."); } long[] in_ids = new long[ains.length]; long[] in_ids; if (ains != null) { in_ids = new long[ains.length]; for (int index = 0; index < ains.length; ++index) { in_ids[index] = ains[index].getID(mRS); } } else { in_ids = null; } long out_id = 0; if (aout != null) { Loading Loading
rs/java/android/renderscript/Script.java +8 −3 Original line number Diff line number Diff line Loading @@ -251,10 +251,15 @@ public class Script extends BaseObj { "At least one of ain or aout is required to be non-null."); } long[] in_ids = new long[ains.length]; long[] in_ids; if (ains != null) { in_ids = new long[ains.length]; for (int index = 0; index < ains.length; ++index) { in_ids[index] = ains[index].getID(mRS); } } else { in_ids = null; } long out_id = 0; if (aout != null) { Loading