mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-04 16:45:11 -05:00
fix issue with switching to previous keyboard when using subtypes (https://keepass2android.codeplex.com/workitem/205)
This commit is contained in:
parent
a626521f97
commit
a93fd417ad
Binary file not shown.
Binary file not shown.
@ -54,7 +54,12 @@ public class ImeSwitcher {
|
||||
String currentIme = android.provider.Settings.Secure.getString(
|
||||
ctx.getContentResolver(),
|
||||
android.provider.Settings.Secure.DEFAULT_INPUT_METHOD);
|
||||
|
||||
currentIme += ";"+String.valueOf(
|
||||
android.provider.Settings.Secure.getInt(
|
||||
ctx.getContentResolver(),
|
||||
android.provider.Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE,
|
||||
-1)
|
||||
);
|
||||
SharedPreferences prefs = ctx.getSharedPreferences(KP2A_SWITCHER, Context.MODE_PRIVATE);
|
||||
Editor edit = prefs.edit();
|
||||
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user