Can restore state on rotate personal dict screen am: 8f4eb4d74b am: 45cdbd2669

am: 6b41874231

Change-Id: I426e4bfea077b3494a8a5a8e3eea0659186b60f8
This commit is contained in:
Salvador Martinez
2016-08-31 01:19:32 +00:00
committed by android-build-merger

View File

@@ -87,7 +87,7 @@ public class UserDictionaryAddWordContents {
mMode = MODE_EDIT;
mOldWord = oldInstanceToBeEdited.mSavedWord;
mOldShortcut = oldInstanceToBeEdited.mSavedShortcut;
updateLocale(mLocale);
updateLocale(oldInstanceToBeEdited.getCurrentUserDictionaryLocale());
}
// locale may be null, this means default locale