diff --git a/app/src/main/java/eu/faircode/email/ActivityBase.java b/app/src/main/java/eu/faircode/email/ActivityBase.java index c85d0c1c8f..93370e2cbe 100644 --- a/app/src/main/java/eu/faircode/email/ActivityBase.java +++ b/app/src/main/java/eu/faircode/email/ActivityBase.java @@ -312,6 +312,8 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc Log.i("Result class=" + this.getClass().getSimpleName() + " action=" + action + " request=" + requestCode + " result=" + resultCode); Log.logExtras(data); + if (data != null) + Log.i("data=" + data.getData()); super.onActivityResult(requestCode, resultCode, data); } diff --git a/app/src/main/java/eu/faircode/email/FragmentBase.java b/app/src/main/java/eu/faircode/email/FragmentBase.java index 2a190552ab..1551794be5 100644 --- a/app/src/main/java/eu/faircode/email/FragmentBase.java +++ b/app/src/main/java/eu/faircode/email/FragmentBase.java @@ -161,7 +161,7 @@ public class FragmentBase extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { - Log.d("Create view " + this); + Log.d("Create view " + this + (savedInstanceState != null)); return super.onCreateView(inflater, container, savedInstanceState); } @@ -203,6 +203,8 @@ public class FragmentBase extends Fragment { Log.i("Result class=" + this.getClass().getSimpleName() + " action=" + action + " request=" + requestCode + " result=" + resultCode); Log.logExtras(data); + if (data != null) + Log.i("data=" + data.getData()); super.onActivityResult(requestCode, resultCode, data); try {