Question
Can I can set a default app on a build if two apps of the same category are installed?
Example
I am adding a custom browser on AOSP. I want to set it as the default browser before the build starts.
On the Android.mk
file for packages there is an option to specify 'LOCAL_OVERRIDES_PACKAGES'
which basically overrides the install of the packages mentioned making my app as the default.
But I would want the other app to be a part of the ROM with my app as the default.
Any ideas will be appreciated.