am 2281ba76: Merge "Add DictionaryFacilitator dump()."
* commit '2281ba76668db4343e1d01fff82e031657bfcfd5': Add DictionaryFacilitator dump().main
commit
8d9c43b5ba
|
@ -171,6 +171,8 @@ public interface DictionaryFacilitator {
|
|||
|
||||
void clearUserHistoryDictionary();
|
||||
|
||||
String dump(final Context context);
|
||||
|
||||
void dumpDictionaryForDebug(final String dictName);
|
||||
|
||||
ArrayList<Pair<String, DictionaryStats>> getStatsOfEnabledSubDicts();
|
||||
|
|
|
@ -807,4 +807,9 @@ public class DictionaryFacilitatorImpl implements DictionaryFacilitator {
|
|||
}
|
||||
return statsOfEnabledSubDicts;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String dump(final Context context) {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1845,6 +1845,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
p.println(" Keyboard mode = " + keyboardMode);
|
||||
final SettingsValues settingsValues = mSettings.getCurrent();
|
||||
p.println(settingsValues.dump());
|
||||
p.println(mDictionaryFacilitator.dump(this /* context */));
|
||||
// TODO: Dump all settings values
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue