Keep task stack when invoking settings from setup wizard

Bug: 8336068
Change-Id: If1df32595f72285b2dad16e28b4429b7b6059839
main
Tadashi G. Takaoka 2013-04-26 13:03:37 +09:00
parent df3ca0420b
commit 82e476b188
1 changed files with 1 additions and 2 deletions

View File

@ -236,8 +236,7 @@ public final class SetupActivity extends Activity implements View.OnClickListene
final Intent intent = new Intent();
intent.setClass(this, SettingsActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
| Intent.FLAG_ACTIVITY_CLEAR_TOP
| Intent.FLAG_ACTIVITY_NO_HISTORY);
| Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
}