summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Stephen Hines <srhines@google.com> 2015-08-18 17:41:41 -0700
committer Stephen Hines <srhines@google.com> 2015-08-18 17:41:41 -0700
commitfd1fd6eefb12e135b740a16e414cc4d637c8c370 (patch)
treee1800d64e2560e439885350f59216cbff6ff3540
parenteba23aaa765822c5ed8a152af00da1998d61409e (diff)
Don't make bad RS API level recommendations.
This document was recommending that users always target the latest available API level, but that will prevent optimization on older devices. Instead, they should be setting the minimum value that they require. Change-Id: I27c65872d124ed0beaeb2125d68d1d636ffa9352
-rw-r--r--docs/html/guide/topics/renderscript/compute.jd2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/guide/topics/renderscript/compute.jd b/docs/html/guide/topics/renderscript/compute.jd
index 2e7ce5632224..b6a6cd77f2df 100644
--- a/docs/html/guide/topics/renderscript/compute.jd
+++ b/docs/html/guide/topics/renderscript/compute.jd
@@ -215,7 +215,7 @@ import android.support.v8.renderscript.*;
<ul>
<li>{@code renderscript.target} - Specifies the bytecode version to be generated. We
- recommend you set this value the highest available API level and set {@code
+ recommend you set this value to your minimum required API level and set {@code
renderscript.support.mode} to {@code true}. Valid values for this setting are any integer value
from 11 to the most recently released API level. If your minimum SDK version specified in your
application manifest is set to a higher value, this value is ignored and the target value is set