am 962c40d3: Merge "StatsUtilsManager should be initiated(#onCreate) before loadSettings."

* commit '962c40d326eb9e63011f739bb263f43fb3182006':
  StatsUtilsManager should be initiated(#onCreate) before loadSettings.
This commit is contained in:
Jatin Matani 2014-09-01 09:14:07 +00:00 committed by Android Git Automerger
commit 5dcde4626f

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);
}