summaryrefslogtreecommitdiffstats
path: root/overlay/common/packages
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2010-08-18 08:17:09 -0400
committerSteve Kondik <shade@chemlab.org>2010-08-18 08:17:09 -0400
commite30e45fa27159fa75325f96f527288376b369145 (patch)
tree4bb40b51abe74b5c72fd4669034c4d28aeeec38b /overlay/common/packages
parentff4cb665692ccb9ef99ce1d17271b4d24d56fd40 (diff)
downloadvendor_replicant-e30e45fa27159fa75325f96f527288376b369145.zip
vendor_replicant-e30e45fa27159fa75325f96f527288376b369145.tar.gz
vendor_replicant-e30e45fa27159fa75325f96f527288376b369145.tar.bz2
cm: Set the default IME based on locale.
I'm not sure why AOSP isn't doing this already. PinyinIME and OpenWnn are both missing directives to tell it when it should be the default, so it thinks it's always the default, overriding LatinIME for English locales.
Diffstat (limited to 'overlay/common/packages')
-rw-r--r--overlay/common/packages/inputmethods/OpenWnn/res/values-ja-rCN/bools.xml18
-rw-r--r--overlay/common/packages/inputmethods/OpenWnn/res/values-ja/bools.xml18
-rw-r--r--overlay/common/packages/inputmethods/OpenWnn/res/values/bools.xml18
-rw-r--r--overlay/common/packages/inputmethods/PinyinIME/res/values/bools.xml18
4 files changed, 72 insertions, 0 deletions
diff --git a/overlay/common/packages/inputmethods/OpenWnn/res/values-ja-rCN/bools.xml b/overlay/common/packages/inputmethods/OpenWnn/res/values-ja-rCN/bools.xml
new file mode 100644
index 0000000..651a9d1
--- /dev/null
+++ b/overlay/common/packages/inputmethods/OpenWnn/res/values-ja-rCN/bools.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources>
+ <bool name="im_is_default">false</bool>
+</resources>
diff --git a/overlay/common/packages/inputmethods/OpenWnn/res/values-ja/bools.xml b/overlay/common/packages/inputmethods/OpenWnn/res/values-ja/bools.xml
new file mode 100644
index 0000000..651a9d1
--- /dev/null
+++ b/overlay/common/packages/inputmethods/OpenWnn/res/values-ja/bools.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources>
+ <bool name="im_is_default">false</bool>
+</resources>
diff --git a/overlay/common/packages/inputmethods/OpenWnn/res/values/bools.xml b/overlay/common/packages/inputmethods/OpenWnn/res/values/bools.xml
new file mode 100644
index 0000000..651a9d1
--- /dev/null
+++ b/overlay/common/packages/inputmethods/OpenWnn/res/values/bools.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources>
+ <bool name="im_is_default">false</bool>
+</resources>
diff --git a/overlay/common/packages/inputmethods/PinyinIME/res/values/bools.xml b/overlay/common/packages/inputmethods/PinyinIME/res/values/bools.xml
new file mode 100644
index 0000000..651a9d1
--- /dev/null
+++ b/overlay/common/packages/inputmethods/PinyinIME/res/values/bools.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources>
+ <bool name="im_is_default">false</bool>
+</resources>