Debug logging

pull/169/head
M66B 5 years ago
parent 6fb88fe4ca
commit 7f3313a1a0

@ -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…
Cancel
Save