Can restore state on rotate personal dict screen am: 8f4eb4d74b am: 45cdbd2669
am: 6b41874231
Change-Id: I426e4bfea077b3494a8a5a8e3eea0659186b60f8
This commit is contained in:
@@ -87,7 +87,7 @@ public class UserDictionaryAddWordContents {
|
|||||||
mMode = MODE_EDIT;
|
mMode = MODE_EDIT;
|
||||||
mOldWord = oldInstanceToBeEdited.mSavedWord;
|
mOldWord = oldInstanceToBeEdited.mSavedWord;
|
||||||
mOldShortcut = oldInstanceToBeEdited.mSavedShortcut;
|
mOldShortcut = oldInstanceToBeEdited.mSavedShortcut;
|
||||||
updateLocale(mLocale);
|
updateLocale(oldInstanceToBeEdited.getCurrentUserDictionaryLocale());
|
||||||
}
|
}
|
||||||
|
|
||||||
// locale may be null, this means default locale
|
// locale may be null, this means default locale
|
||||||
|
|||||||
Reference in New Issue
Block a user