summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-11-03 23:01:38 -0700
committerJason Sams <rjsams@android.com>2010-11-03 23:01:38 -0700
commit3ba02b3d2f6fb49677466a2e93c96f307d2a7a41 (patch)
treecf2b140d07099fed7cfcd42e1bb2d22f80297447 /graphics
parent7c608f25d494c8a0a671e7373efbb47ca635367e (diff)
downloadframeworks_base-3ba02b3d2f6fb49677466a2e93c96f307d2a7a41.zip
frameworks_base-3ba02b3d2f6fb49677466a2e93c96f307d2a7a41.tar.gz
frameworks_base-3ba02b3d2f6fb49677466a2e93c96f307d2a7a41.tar.bz2
Update ScriptC constructor to remove depricated param.
Change-Id: Id36e325834526c6b5416fd78d5cf4259d7df97e9
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/renderscript/ScriptC.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/java/android/renderscript/ScriptC.java b/graphics/java/android/renderscript/ScriptC.java
index 73f42de..5215795 100644
--- a/graphics/java/android/renderscript/ScriptC.java
+++ b/graphics/java/android/renderscript/ScriptC.java
@@ -33,11 +33,11 @@ import java.lang.reflect.Modifier;
public class ScriptC extends Script {
private static final String TAG = "ScriptC";
- ScriptC(int id, RenderScript rs) {
+ protected ScriptC(int id, RenderScript rs) {
super(id, rs);
}
- protected ScriptC(RenderScript rs, Resources resources, int resourceID, boolean isRoot) {
+ protected ScriptC(RenderScript rs, Resources resources, int resourceID) {
super(0, rs);
mID = internalCreate(rs, resources, resourceID);
}