Old paper clip asset is removed, which touches a test case here.
Change-Id: Ie070eaeb7d3c4a3663da4cd4761328241ce6467f
This commit is contained in:
parent
d54cebe5ec
commit
f1b6b3afd9
@ -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