diff options
author | Jason Sams <jsams@google.com> | 2013-04-09 23:25:10 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-04-09 23:25:10 -0700 |
commit | d351e3b12e0d53dcb23935fa61ea00f42b500531 (patch) | |
tree | b45eec1ee394aa029c97c3a717e9375e8a51e944 /graphics | |
parent | 28af35e8cdc601c7ab9c7287d9e72fdc331e8a9d (diff) | |
parent | dfbd6eae7bd2b1b7420f819459464ef64f9912bb (diff) | |
download | frameworks_base-d351e3b12e0d53dcb23935fa61ea00f42b500531.zip frameworks_base-d351e3b12e0d53dcb23935fa61ea00f42b500531.tar.gz frameworks_base-d351e3b12e0d53dcb23935fa61ea00f42b500531.tar.bz2 |
am dfbd6eae: am d7094ea2: Merge "Fix docs with deprecated resize1D" into jb-mr2-dev
* commit 'dfbd6eae7bd2b1b7420f819459464ef64f9912bb':
Fix docs with deprecated resize1D
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/renderscript/Allocation.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/java/android/renderscript/Allocation.java b/graphics/java/android/renderscript/Allocation.java index 9147992..5751331 100644 --- a/graphics/java/android/renderscript/Allocation.java +++ b/graphics/java/android/renderscript/Allocation.java @@ -1207,7 +1207,9 @@ public class Allocation extends BaseObj { * * @param dimX The new size of the allocation. * - * @deprecated + * @deprecated Renderscript objects should be immutable once + * created. The replacement is to create a new allocation and copy the + * contents. */ public synchronized void resize(int dimX) { if ((mType.getY() > 0)|| (mType.getZ() > 0) || mType.hasFaces() || mType.hasMipmaps()) { |