am 6348c54f: Merge "Initializing member variable before it is referenced" into jb-dev

* commit '6348c54ffd1d39be44ce42d7d2eb068cba508dbc':
  Initializing member variable before it is referenced
main
Tadashi G. Takaoka 2012-06-07 11:29:58 -07:00 committed by Android Git Automerger
commit e4da18e279
1 changed files with 1 additions and 1 deletions

View File

@ -134,13 +134,13 @@ public class UserHistoryDictionary extends ExpandableDictionary {
SharedPreferences sp) { SharedPreferences sp) {
super(context, dicTypeId); super(context, dicTypeId);
mLocale = locale; mLocale = locale;
mPrefs = sp;
if (sOpenHelper == null) { if (sOpenHelper == null) {
sOpenHelper = new DatabaseHelper(getContext()); sOpenHelper = new DatabaseHelper(getContext());
} }
if (mLocale != null && mLocale.length() > 1) { if (mLocale != null && mLocale.length() > 1) {
loadDictionary(); loadDictionary();
} }
mPrefs = sp;
} }
@Override @Override