don't call methods that are now removed
Test: make Bug: 14646703 Change-Id: I55b5936bf8ed2f7832f734068737053cc29580ea
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user