Can restore state on rotate personal dict screen
am: 8f4eb4d74b
Change-Id: I8e4a2a29474784e60eb41b356cac65fe5b86886c
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