Clarification of dictionary provider conflict

This commit is contained in:
David Black 2014-01-18 14:10:17 +00:00
parent 87976f9c0e
commit b2acbe11ea

View file

@ -18,10 +18,9 @@ in the repository but they'd need to be compiled.
Of course, you can't install this if you have a ROM that already has Of course, you can't install this if you have a ROM that already has
the com.android.inputmethod.latin package installed. the com.android.inputmethod.latin package installed.
You could build it yourself with a different package name, but on Android 4.3 You could build it yourself with a different package name, but you might need
it still couldn't be installed as a user app, unless the original allowed to change the authority string for dictionary packs too; this may be fixed in the next builds.
the dictionary provider to be exported, which is unlikely. Otherwise, you'll have to remove the original from /system/app (and dalvik-cache)
So, you'd have to remove the original from /system/app (and dalvik-cache)
via root, before installing this. via root, before installing this.
. .
@ -76,12 +75,9 @@ Maintainer Notes:
Note that, like other AOSP apps, there are now special tags with 'sdk' in them; Note that, like other AOSP apps, there are now special tags with 'sdk' in them;
not sure what the difference is. not sure what the difference is.
Possible tweaks: Todo for next versions:
Could compile with dictionary provider exported to allow access from other apps, but Change authority string in res/values/dictionary-pack.xml, à la
of course it's only relevant if installing other similar packages ''after'' this; see, android:authorities="@string/authority" to allow for installation on top of other apps.
https://developer.android.com/guide/topics/manifest/provider-element.html
sed -i 's/exported="false"/exported="true"/g' AndroidManifest.xml && \
Split up packages based on user dictionaries. Split up packages based on user dictionaries.
. .