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:
commit
93cb314cc3
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue