mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 09:16:00 +00:00
Improved logging
This commit is contained in:
parent
fa0a02c9b5
commit
7723245495
1 changed files with 5 additions and 3 deletions
|
@ -605,9 +605,11 @@ public class ContactInfo {
|
||||||
if (info.bitmap != null) {
|
if (info.bitmap != null) {
|
||||||
int abc = info.bitmap.getAllocationByteCount();
|
int abc = info.bitmap.getAllocationByteCount();
|
||||||
if (abc > 1024 * 1024) {
|
if (abc > 1024 * 1024) {
|
||||||
Log.e("Avatar type=" + info.type + " size=" + abc);
|
String msg = "Avatar type=" + info.type +
|
||||||
EntityLog.log(context, EntityLog.Type.Debug5,
|
" size=" + abc + "/" + info.bitmap.getByteCount() +
|
||||||
"Avatar email=" + info.email + " type=" + info.type + " size=" + abc);
|
" " + info.bitmap.getWidth() + "x" + info.bitmap.getHeight() + " " + info.bitmap.getConfig();
|
||||||
|
Log.e(msg);
|
||||||
|
EntityLog.log(context, EntityLog.Type.Debug5, msg + " email=" + info.email);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue