mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 01:06:11 +00:00
Added debug logging
This commit is contained in:
parent
5cde7e7216
commit
70d820b8ce
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,8 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB
|
|||
String[] tos = intent.getStringArrayExtra(Intent.EXTRA_EMAIL);
|
||||
boolean cloud = (tos != null && tos.length == 1 && BuildConfig.CLOUD_EMAIL.equals(tos[0]));
|
||||
|
||||
Log.i("Compose exit shared=" + shared + " widget=" + widget + " cloud=" + cloud);
|
||||
|
||||
if (cloud) {
|
||||
Intent setup = new Intent(this, ActivitySetup.class)
|
||||
.setAction("misc")
|
||||
|
@ -90,6 +92,8 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB
|
|||
startActivity(setup);
|
||||
} else if (!shared && !widget) {
|
||||
Intent parent = getParentActivityIntent();
|
||||
Log.i("Compose exit parent=" + parent +
|
||||
" recreate=" + (parent == null ? null : shouldUpRecreateTask(parent)));
|
||||
if (parent != null)
|
||||
if (shouldUpRecreateTask(parent))
|
||||
TaskStackBuilder.create(this)
|
||||
|
|
Loading…
Reference in a new issue