mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-15 16:39:37 +00:00
Debug logging
This commit is contained in:
parent
6fb88fe4ca
commit
7f3313a1a0
2 changed files with 2 additions and 4 deletions
|
@ -1446,8 +1446,7 @@ public class MessageHelper {
|
|||
|
||||
private void getMessageParts(Part part, MessageParts parts, Integer encrypt) throws IOException, MessagingException {
|
||||
try {
|
||||
if (BuildConfig.DEBUG)
|
||||
Log.i("Part class=" + part.getClass() + " type=" + part.getContentType());
|
||||
Log.d("Part class=" + part.getClass() + " type=" + part.getContentType());
|
||||
if (part.isMimeType("multipart/*")) {
|
||||
Multipart multipart;
|
||||
Object content = part.getContent();
|
||||
|
|
|
@ -58,8 +58,7 @@ public class TwoStateOwner implements LifecycleOwner {
|
|||
registry.addObserver(new LifecycleObserver() {
|
||||
@OnLifecycleEvent(Lifecycle.Event.ON_ANY)
|
||||
public void onAny() {
|
||||
//if (BuildConfig.DEBUG)
|
||||
// Log.i("LifeCycle " + name + " state=" + registry.getCurrentState() + " " + registry);
|
||||
Log.d("LifeCycle " + name + " state=" + registry.getCurrentState() + " " + registry);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue