summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-01-05 18:12:44 -0800
committerAlan Viverette <alanv@google.com>2015-01-06 11:05:33 -0800
commit6bbb47b7d5ac1b49d916679e5f081fe181d8f162 (patch)
treea0b4f4b3548719af44ee36126d9944294c672f1e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent304ea5aac77cae03b4e8440a7c73c18086d96a20 (diff)
Clean up TypedArray docs & formatting, remove coercion warnings
Establishes a clear contract regarding when exceptions will be thrown, when default values will be returned, and when values will be coerced to a different type. Since we have both getInt() and getInteger() where one handles coercion without throwing an exception, it seems reasonable that we should clearly document the behavior so that developers can make an informed decision. Once we document the behavior, there is no reason to log warnings on coercion. If a developer chooses to use a particular API or data type, that is still correct according to the API. BUG: 18625719 Change-Id: I385f0b719182d3c0358943e1d6c3d7bedc756eb5
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions