mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Add debug info
This commit is contained in:
parent
6204ecba36
commit
98396f421f
1 changed files with 7 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue