don't call methods that are now removed

Test: make

Bug: 14646703
Change-Id: I55b5936bf8ed2f7832f734068737053cc29580ea
This commit is contained in:
Mike Reed
2018-02-27 09:54:46 -05:00
parent 97f205fcc1
commit a46f0a0858

View File

@@ -69,12 +69,6 @@ public class Pictures extends GraphicsActivity {
mDrawable.setBounds(0, 200, getWidth(), 300); mDrawable.setBounds(0, 200, getWidth(), 300);
mDrawable.draw(canvas); mDrawable.draw(canvas);
ByteArrayOutputStream os = new ByteArrayOutputStream();
mPicture.writeToStream(os);
InputStream is = new ByteArrayInputStream(os.toByteArray());
canvas.translate(0, 300);
canvas.drawPicture(Picture.createFromStream(is));
} }
} }
} }