StatsUtilsManager should be initiated(#onCreate) before loadSettings.

Change-Id: I9002b4afb023e55ab251ea070ec0b7a6ace99261
main
Jatin Matani 2014-08-29 15:51:57 -07:00
parent f5960b4f62
commit aa223400c3
1 changed files with 1 additions and 1 deletions

View File

@ -555,6 +555,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
KeyboardSwitcher.init(this);
AudioAndHapticFeedbackManager.init(this);
AccessibilityUtils.init(this);
mStatsUtilsManager.onCreate(this /* context */);
super.onCreate();
mHandler.onCreate();
@ -586,7 +587,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
registerReceiver(mDictionaryDumpBroadcastReceiver, dictDumpFilter);
DictionaryDecayBroadcastReciever.setUpIntervalAlarmForDictionaryDecaying(this);
mStatsUtilsManager.onCreate(this /* context */);
StatsUtils.onCreate(mSettings.getCurrent(), mRichImm);
}