mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-30 20:56:38 +02:00
Add debug info
This commit is contained in:
@@ -132,7 +132,11 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB
|
||||
private void handle(Intent intent, boolean create) {
|
||||
Bundle args;
|
||||
String action = intent.getAction();
|
||||
Log.i("Handle action=" + action + " create=" + create + " " + this);
|
||||
Log.i("Handle action=" + action +
|
||||
" shared=" + isShared(action) +
|
||||
" create=" + create +
|
||||
" uri=" + intent.getData() +
|
||||
" " + this);
|
||||
|
||||
if (isShared(action)) {
|
||||
args = new Bundle();
|
||||
@@ -281,6 +285,8 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB
|
||||
} else
|
||||
args = intent.getExtras();
|
||||
|
||||
Log.logBundle(args);
|
||||
|
||||
FragmentManager fm = getSupportFragmentManager();
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
boolean attach_new = prefs.getBoolean("attach_new", true);
|
||||
|
||||
Reference in New Issue
Block a user