Add a new activity for adding a user dictionary word
This is step 1.
Bug: 5306641
Change-Id: I69727f05df8f3455e6e734140f712ccf7881e5be
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index cfa92b0..d489ebb 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -450,7 +450,6 @@
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.USER_DICTIONARY_SETTINGS" />
- <action android:name="com.android.settings.USER_DICTIONARY_INSERT" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.VOICE_LAUNCH" />
</intent-filter>
@@ -464,6 +463,16 @@
android:value="com.android.settings.Settings$InputMethodAndLanguageSettingsActivity" />
</activity>
+ <activity android:name=".inputmethod.UserDictionaryAddWordActivity"
+ android:label="@string/user_dict_settings_titlebar"
+ android:theme="@android:style/Theme.Holo.Dialog.NoActionBar">
+ <intent-filter>
+ <action android:name="com.android.settings.USER_DICTIONARY_INSERT" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="android.intent.category.VOICE_LAUNCH" />
+ </intent-filter>
+ </activity>
+
<!-- Keep compatibility with old shortcuts. -->
<activity-alias android:name="UserDictionarySettings"
android:label="@string/user_dict_settings_titlebar"