Debug logging

This commit is contained in:
M66B 2019-12-17 10:08:42 +01:00
parent 6fb88fe4ca
commit 7f3313a1a0
2 changed files with 2 additions and 4 deletions

View File

@ -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();

View File

@ -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);
}
});