Merge "don't call methods that are now removed"

This commit is contained in:
TreeHugger Robot
2018-03-10 00:02:50 +00:00
committed by Android (Google) Code Review

View File

@@ -69,12 +69,6 @@ public class Pictures extends GraphicsActivity {
mDrawable.setBounds(0, 200, getWidth(), 300);
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));
}
}
}