summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2017-05-23 18:53:44 -0700
committerAdam Lesinski <adamlesinski@google.com>2017-05-24 15:39:23 -0700
commit9553fb3240f6d2e52012f94fb59271348a07b94d (patch)
tree940aef6f53a0c3c5743840931dfb3d64c6f94658 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent0418b72fd2c91f32c42e3a406df2a866888fc766 (diff)
Add ResourceId validation helper method
An invalid, 'null' resource ID is defined as 0. Apps often use -1. Add a helper method that makes checking valid IDs easy and more centralized. Eventually make it public API. Bug: 38393777 Test: manual Change-Id: I969ec4a45e86bdab3d7f57d357d475b77c7f8a78
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions