am d7094ea2: Merge "Fix docs with deprecated resize1D" into jb-mr2-dev

* commit 'd7094ea29bac0c3c296b79caca150e3a543fe39b':
  Fix docs with deprecated resize1D
This commit is contained in:
Jason Sams
2013-04-09 22:28:54 -07:00
committed by Android Git Automerger

View File

@@ -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()) {