mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 08:33:37 +02:00
Debug logging
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user