|
|
@ -132,7 +132,11 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB
|
|
|
|
private void handle(Intent intent, boolean create) {
|
|
|
|
private void handle(Intent intent, boolean create) {
|
|
|
|
Bundle args;
|
|
|
|
Bundle args;
|
|
|
|
String action = intent.getAction();
|
|
|
|
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)) {
|
|
|
|
if (isShared(action)) {
|
|
|
|
args = new Bundle();
|
|
|
|
args = new Bundle();
|
|
|
@ -281,6 +285,8 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
args = intent.getExtras();
|
|
|
|
args = intent.getExtras();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Log.logBundle(args);
|
|
|
|
|
|
|
|
|
|
|
|
FragmentManager fm = getSupportFragmentManager();
|
|
|
|
FragmentManager fm = getSupportFragmentManager();
|
|
|
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
|
|
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
|
|
|
boolean attach_new = prefs.getBoolean("attach_new", true);
|
|
|
|
boolean attach_new = prefs.getBoolean("attach_new", true);
|
|
|
|