Added logging

This commit is contained in:
M66B 2022-06-14 12:54:59 +02:00
parent 89d1d7902f
commit be02289a0f
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,7 @@ import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
@ -149,6 +150,7 @@ public class FragmentDialogFolder extends FragmentDialogBase {
Bundle args = getArguments();
args.putLong("folder", folder.id);
args.putString("type", folder.type);
EntityLog.log(context, "Folder selected " + TextUtils.join(", ", Log.getExtras(args)));
sendResult(RESULT_OK);
dismiss();
@ -335,6 +337,8 @@ public class FragmentDialogFolder extends FragmentDialogBase {
}
}.execute(this, args, "folder:select");
EntityLog.log(context, "Folder selection " + TextUtils.join(", ", Log.getExtras(aargs)));
return new AlertDialog.Builder(context)
.setIcon(R.drawable.twotone_folder_open_24)
.setTitle(title)