diff options
author | satok <satok@google.com> | 2010-10-06 16:03:58 +0900 |
---|---|---|
committer | satok <satok@google.com> | 2010-10-07 14:43:16 +0900 |
commit | 47a44916e2fb33cf4751906386d5f5c903b28d8b (patch) | |
tree | 55aad8ada6f34f17cf2bc18c006be80af094acf8 /core/res | |
parent | e743bd2bac1ed8a04d32def6e6ccfa5c9c180458 (diff) | |
download | frameworks_base-47a44916e2fb33cf4751906386d5f5c903b28d8b.zip frameworks_base-47a44916e2fb33cf4751906386d5f5c903b28d8b.tar.gz frameworks_base-47a44916e2fb33cf4751906386d5f5c903b28d8b.tar.bz2 |
Add InputMethodEnabler for enabling input methods and subtypes
- Copyed functionarity from LanguageSettings.java
TODO: Save enabled InputMethodSubtypes
Change-Id: I7b4fb1a79cb8b3229f88773d261430e23ba7aae2
Diffstat (limited to 'core/res')
-rw-r--r-- | core/res/AndroidManifest.xml | 5 | ||||
-rwxr-xr-x | core/res/res/values/strings.xml | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 3a1d76f..f15d0a4 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1373,6 +1373,11 @@ android:permission="android.permission.BIND_WALLPAPER"> </service> + <activity android:name="com.android.internal.view.InputMethodAndSubtypeEnabler" + android:excludeFromRecents="true" + android:exported="true"> + </activity> + <receiver android:name="com.android.server.BootReceiver" > <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index 8b4f91f..f0ab7e3 100755 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -2385,5 +2385,9 @@ <item quantity="other"><xliff:g id="index" example="2">%d</xliff:g> of <xliff:g id="total" example="137">%d</xliff:g></item> </plurals> + <!-- Warning message about security implications of enabling an input method, displayed as a dialog message when the user selects to enable an IME. --> + <string name="ime_enabler_security_warning">This input method may be able to collect all the text you type, including personal data like passwords and credit card numbers. It comes from the application <xliff:g id="ime_application_name">%1$s</xliff:g>. Use this input method?</string> + <!-- Label for selecting the input method to use --> + <string name="ime_enabler_subtype_title">Select inputmethods in <xliff:g id="ime_application_name">%1$s</xliff:g></string> </resources> |