I'm building Android platform for a specific device. I'm following the same model to add prebuilt packages as it is in the website and as I saw in the Android.mk of the GMS package.
So, I have a Keyboard I want to override the LatinIME package. Its Android.mk is like:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := com.mycompany.mykeyboard
LOCAL_MODULE_TAGS := optional
LOCAL_OVERRIDES_PACKAGES := LatinIME
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
LOCAL_MODULE_CLASS := APPS
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
LOCAL_CERTIFICATE := shared
include $(BUILD_PREBUILT)
When I use that for prebuilt package, some works, some others no. For GMS for example, which replaces QuickSearchBox to GoogleQuickSearchBox, that works fine. I also added the same rules to replace Contacts with MyCompanyContacts (prebuilt). But, for the LatinIME, it is going through. LatinIME is already tagged to optional but I can't see another way unless removing it from generic.mk. I don't want to remove from generic.mk as we have some variants that we don't want to have our customized keyboard.
Do you think it might have something wrong with the LOCAL_OVERRIDES_PACKAGES when using for prebuilt apps?
Thanks,
Tiago
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en