|
|
@ -359,16 +359,21 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|
|
|
Intent intent = getIntent();
|
|
|
|
Intent intent = getIntent();
|
|
|
|
String action = intent.getAction();
|
|
|
|
String action = intent.getAction();
|
|
|
|
Log.i(Helper.TAG, "View intent=" + intent + " action=" + action);
|
|
|
|
Log.i(Helper.TAG, "View intent=" + intent + " action=" + action);
|
|
|
|
if (action != null && action.startsWith("thread")) {
|
|
|
|
if (action != null) {
|
|
|
|
intent.setAction(null);
|
|
|
|
intent.setAction(null);
|
|
|
|
setIntent(intent);
|
|
|
|
setIntent(intent);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ("unified".equals(action))
|
|
|
|
|
|
|
|
getSupportFragmentManager().popBackStack("unified", 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else if (action.startsWith("thread")) {
|
|
|
|
ViewModelMessages model = ViewModelProviders.of(this).get(ViewModelMessages.class);
|
|
|
|
ViewModelMessages model = ViewModelProviders.of(this).get(ViewModelMessages.class);
|
|
|
|
model.setMessages(null);
|
|
|
|
model.setMessages(null);
|
|
|
|
|
|
|
|
|
|
|
|
intent.putExtra("thread", action.split(":", 2)[1]);
|
|
|
|
intent.putExtra("thread", action.split(":", 2)[1]);
|
|
|
|
onViewThread(intent);
|
|
|
|
onViewThread(intent);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (getIntent().hasExtra(Intent.EXTRA_PROCESS_TEXT)) {
|
|
|
|
if (getIntent().hasExtra(Intent.EXTRA_PROCESS_TEXT)) {
|
|
|
|
String search = getIntent().getCharSequenceExtra(Intent.EXTRA_PROCESS_TEXT).toString();
|
|
|
|
String search = getIntent().getCharSequenceExtra(Intent.EXTRA_PROCESS_TEXT).toString();
|
|
|
|