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