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

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

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
parent eba23aaa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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