am 40651c8c: Fix activity flags to launch settings activity

# Via Tadashi G. Takaoka
* commit '40651c8cf7d4296927f9c49aaa57bcfc7b5372ca':
  Fix activity flags to launch settings activity
This commit is contained in:
Tadashi G. Takaoka 2013-01-24 16:13:59 -08:00 committed by Android Git Automerger
commit 93cb314cc3

View file

@ -2490,7 +2490,9 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
private void launchSubActivity(final Class<? extends Activity> activityClass) {
Intent intent = new Intent();
intent.setClass(LatinIME.this, activityClass);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
| Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
| Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
}