Fix build.
Change-Id: I3c84b1ccb2171672857f523ed636de456fa7313a
This commit is contained in:
parent
035f5fd71c
commit
9fc5b8d80d
@ -659,7 +659,7 @@ public class AttachmentProviderTests extends ProviderTestCase2<AttachmentProvide
|
||||
private String createAttachmentFile(Account forAccount, long id) throws IOException {
|
||||
File outFile = getAttachmentFile(forAccount, id);
|
||||
Bitmap bitmap = BitmapFactory.decodeResource(getContext().getResources(),
|
||||
R.drawable.ic_attachment_holo_light);
|
||||
R.drawable.ic_attach_file_20dp);
|
||||
FileOutputStream out = new FileOutputStream(outFile);
|
||||
bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
|
||||
out.close();
|
||||
|
Loading…
Reference in New Issue
Block a user