Merge pull request #1367 from mcginty/routing-undo
revert RoutingActivity flags
This commit is contained in:
commit
dc9a9b14b2
1 changed files with 0 additions and 9 deletions
|
@ -132,19 +132,10 @@ public class RoutingActivity extends PassphraseRequiredSherlockActivity {
|
||||||
final Intent intent;
|
final Intent intent;
|
||||||
if (isShareAction()) {
|
if (isShareAction()) {
|
||||||
intent = getShareIntent(parameters);
|
intent = getShareIntent(parameters);
|
||||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
|
|
||||||
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
|
|
||||||
}
|
|
||||||
} else if (parameters.recipients != null) {
|
} else if (parameters.recipients != null) {
|
||||||
intent = getConversationIntent(parameters);
|
intent = getConversationIntent(parameters);
|
||||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
|
||||||
} else {
|
} else {
|
||||||
intent = getConversationListIntent();
|
intent = getConversationListIntent();
|
||||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
|
|
||||||
intent.addFlags(Intent.FLAG_ACTIVITY_TASK_ON_HOME);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
finish();
|
finish();
|
||||||
|
|
Loading…
Add table
Reference in a new issue