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

Commit d4a4b452 authored by Stephen Hines's avatar Stephen Hines
Browse files

We need to specify a target SDK < 21 to use graphics RS.

Bug: 16031597

This change also removes some unnecessary code from ScriptC construction.

Change-Id: I6680109deb34de841dfade769d556f5060aee423
parent 38dd601d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ public class ErrorCalculator {
        for (int i = 0; i < rowIndices.length; i++)
            rowIndices[i] = i * REGION_SIZE;

        mScript = new ScriptC_errorCalculator(mRS, resources, R.raw.errorcalculator);
        mScript = new ScriptC_errorCalculator(mRS);
        mScript.set_HEIGHT(height);
        mScript.set_WIDTH(width);
        mScript.set_REGION_SIZE(REGION_SIZE);
+1 −0
Original line number Diff line number Diff line
@@ -25,5 +25,6 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-fil
# LOCAL_SDK_VERSION := current

LOCAL_PACKAGE_NAME := RsFountainFbo
LOCAL_SDK_VERSION := 14

include $(BUILD_PACKAGE)