Fix keyboard entry disappear

This commit is contained in:
J-Jamet
2019-02-22 16:47:24 +01:00
parent 8426b1d91f
commit 66e077f8f1

View File

@@ -209,7 +209,7 @@ public class MagikIME extends InputMethodService
entryKey = null; entryKey = null;
Intent intent = new Intent(this, KeyboardLauncherActivity.class); Intent intent = new Intent(this, KeyboardLauncherActivity.class);
// New task needed because don't launch from an Activity context // New task needed because don't launch from an Activity context
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK|Intent.FLAG_ACTIVITY_CLEAR_TASK);
startActivity(intent); startActivity(intent);
break; break;
case KEY_LOCK: case KEY_LOCK: