Externalize the dictionary pack's name and settings
Some changes downward the road need Latin IME to know the dictionary pack by package name. This makes the name an external string. Bug: 5095140 Change-Id: Ibebf5eb892af19681c18da38955e50dfb573330amain
parent
3a73a30ffd
commit
4ef448ac82
|
@ -153,4 +153,8 @@
|
|||
|
||||
<!-- Generic subtype label -->
|
||||
<string name="subtype_generic">%s</string>
|
||||
|
||||
<!-- dictionary pack package name /settings activity (for shared prefs and settings) -->
|
||||
<string name="dictionary_pack_package_name">com.google.android.inputmethod.latin.dictionarypack</string>
|
||||
<string name="dictionary_pack_settings_activity">com.google.android.inputmethod.latin.dictionarypack.DictionarySettingsActivity</string>
|
||||
</resources>
|
||||
|
|
|
@ -70,8 +70,8 @@
|
|||
android:title="@string/configure_dictionaries_title">
|
||||
<intent
|
||||
android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="com.google.android.inputmethod.latin.dictionarypack"
|
||||
android:targetClass="com.google.android.inputmethod.latin.dictionarypack.DictionarySettingsActivity" />
|
||||
android:targetPackage="@string/dictionary_pack_package_name"
|
||||
android:targetClass="@string/dictionary_pack_settings_activity" />
|
||||
</PreferenceScreen>
|
||||
<ListPreference
|
||||
android:key="auto_correction_threshold"
|
||||
|
|
Loading…
Reference in New Issue