Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7094ea2 authored by Jason Sams's avatar Jason Sams Committed by Android (Google) Code Review
Browse files

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

parents d8b26d6c 60799fb7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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()) {