am 399e0c3c
: am 32152d96
: am f1b6b3af
: Old paper clip asset is removed, which touches a test case here.
* commit '399e0c3cf701a5751549d060140c841d0bfbfb64': Old paper clip asset is removed, which touches a test case here.
This commit is contained in:
commit
8a39dd5634
@ -659,7 +659,7 @@ public class AttachmentProviderTests extends ProviderTestCase2<AttachmentProvide
|
|||||||
private String createAttachmentFile(Account forAccount, long id) throws IOException {
|
private String createAttachmentFile(Account forAccount, long id) throws IOException {
|
||||||
File outFile = getAttachmentFile(forAccount, id);
|
File outFile = getAttachmentFile(forAccount, id);
|
||||||
Bitmap bitmap = BitmapFactory.decodeResource(getContext().getResources(),
|
Bitmap bitmap = BitmapFactory.decodeResource(getContext().getResources(),
|
||||||
R.drawable.ic_attach_file_20dp);
|
R.drawable.ic_attach_file_18dp);
|
||||||
FileOutputStream out = new FileOutputStream(outFile);
|
FileOutputStream out = new FileOutputStream(outFile);
|
||||||
bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
|
bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
|
||||||
out.close();
|
out.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user