diff options
author | Jason Sams <jsams@google.com> | 2013-04-09 22:08:40 -0700 |
---|---|---|
committer | Jason Sams <jsams@google.com> | 2013-04-09 22:08:40 -0700 |
commit | 60799fb74baba4c2cbf56ee2b5985a43ff83d6f7 (patch) | |
tree | d9affe0058e1c1da7ce3ef1ac1c8b9f5319ae395 | |
parent | 07c6fa123da8c7a25edab751543d96fea1dd57f6 (diff) | |
download | frameworks_base-60799fb74baba4c2cbf56ee2b5985a43ff83d6f7.zip frameworks_base-60799fb74baba4c2cbf56ee2b5985a43ff83d6f7.tar.gz frameworks_base-60799fb74baba4c2cbf56ee2b5985a43ff83d6f7.tar.bz2 |
Fix docs with deprecated resize1D
Change-Id: Id1774e1e8be1c1600efaa535cf330e659addb703
-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()) { |