summaryrefslogtreecommitdiffstats
path: root/rs/java/android
diff options
context:
space:
mode:
authorYang Ni <yangni@google.com>2015-06-24 17:06:10 -0700
committerYang Ni <yangni@google.com>2015-06-28 16:09:57 -0700
commitdbb6fd58a4b113f8761ce825ad5b91e50c170971 (patch)
tree4505b4e399aa0ae29f2fbe76c66014e618ea56b8 /rs/java/android
parent44e3a4cbfab5d1d3298540759feeb495016d2158 (diff)
downloadframeworks_base-dbb6fd58a4b113f8761ce825ad5b91e50c170971.zip
frameworks_base-dbb6fd58a4b113f8761ce825ad5b91e50c170971.tar.gz
frameworks_base-dbb6fd58a4b113f8761ce825ad5b91e50c170971.tar.bz2
Add Java doc comments on script group name reuse
b/21999787 Change-Id: Id9a7bad4ce91f3afdd82a1288cf94430f3aef9bb
Diffstat (limited to 'rs/java/android')
-rw-r--r--rs/java/android/renderscript/ScriptGroup.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/rs/java/android/renderscript/ScriptGroup.java b/rs/java/android/renderscript/ScriptGroup.java
index 9000d4d..54180f4 100644
--- a/rs/java/android/renderscript/ScriptGroup.java
+++ b/rs/java/android/renderscript/ScriptGroup.java
@@ -995,6 +995,8 @@ public final class ScriptGroup extends BaseObj {
*
* @param name name for the script group. Legal names can only contain letters, digits,
* '-', or '_'. The name can be no longer than 100 characters.
+ * Try to use unique names, to avoid name conflicts and reduce
+ * the cost of group creation.
* @param outputs futures intended as outputs of the script group
* @return a script group
*/