am 81e8d160: [IL28] Remove useless code
* commit '81e8d1603128ef1a2401ca8a025e2be5c649c6bb': [IL28] Remove useless codemain
commit
8c8cb7de06
|
@ -129,10 +129,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
|
||||
private UserBinaryDictionary mUserDictionary;
|
||||
|
||||
// Personalization debugging params
|
||||
private boolean mUseOnlyPersonalizationDictionaryForDebug = false;
|
||||
private boolean mBoostPersonalizationDictionaryForDebug = false;
|
||||
|
||||
// Object for reacting to adding/removing a dictionary pack.
|
||||
private BroadcastReceiver mDictionaryPackInstallReceiver =
|
||||
new DictionaryPackInstallBroadcastReceiver(this);
|
||||
|
@ -832,8 +828,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
currentSettingsValues.mGestureTrailEnabled,
|
||||
currentSettingsValues.mGestureFloatingPreviewTextEnabled);
|
||||
|
||||
initPersonalizationDebugSettings(currentSettingsValues);
|
||||
|
||||
if (TRACE) Debug.startMethodTracing("/data/trace/latinime");
|
||||
}
|
||||
|
||||
|
@ -875,25 +869,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
}
|
||||
}
|
||||
|
||||
// Initialization of personalization debug settings. This must be called inside
|
||||
// onStartInputView.
|
||||
private void initPersonalizationDebugSettings(SettingsValues currentSettingsValues) {
|
||||
if (mUseOnlyPersonalizationDictionaryForDebug
|
||||
!= currentSettingsValues.mUseOnlyPersonalizationDictionaryForDebug) {
|
||||
// Only for debug
|
||||
initSuggest();
|
||||
mUseOnlyPersonalizationDictionaryForDebug =
|
||||
currentSettingsValues.mUseOnlyPersonalizationDictionaryForDebug;
|
||||
}
|
||||
|
||||
if (mBoostPersonalizationDictionaryForDebug !=
|
||||
currentSettingsValues.mBoostPersonalizationDictionaryForDebug) {
|
||||
// Only for debug
|
||||
mBoostPersonalizationDictionaryForDebug =
|
||||
currentSettingsValues.mBoostPersonalizationDictionaryForDebug;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onWindowHidden() {
|
||||
super.onWindowHidden();
|
||||
|
|
Loading…
Reference in New Issue