mirror of
https://github.com/M66B/FairEmail.git
synced 2026-05-05 15:17:00 +02:00
Added debug logging
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user