And Google mentions in the Android One build guide not to do make live wallpaper the default, at least on low-RAM Android One devices - which indicates there is a way to do it that is AOSP-sanctioned.
So... does anyone know how to actually pull it off? Thanks!
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Building
Hi Christopher,
I tried to post this earlier from my mail client, but things went wrong, but it did give me a chance to give you a tested example relevant to M. :-)
Please have a look at the framework/base/core/res/res/values/config.xml item ‘default_wallpaper_component’ which has the following format:
<string name="default_wallpaper_component" translatable="false">package name/service name</string>
For example to enable the Galaxy4 live wallpaper in your build, your device overlay config.xml would contain something like this:
<string name="default_wallpaper_component" translatable="false">com.android.galaxy4/com.android.galaxy4.Galaxy4Wallpaper</string>
(this assumes you have the packages/wallpapers/Galaxy4 git in your manifest)
Cheers,
Ed
Amit Pundir
unread,
Feb 16, 2016, 10:14:26 AM2/16/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-...@googlegroups.com
On 11 February 2016 at 14:59, Christopher Price
<ch...@christopherprice.net> wrote:
> Here's one tough nut we haven't been able to crack internally...
>
> How do you set a Live Wallpaper as the default on an Android build, so that
> it is enabled as the default wallpaper out of the box?
>
> I've seen others ask this question:
> http://stackoverflow.com/questions/30470567/how-can-i-bundle-some-wallpapers-as-part-of-my-custom-aosp-rom > (But no answer).
>
> And Google mentions in the Android One build guide not to do make live
> wallpaper the default, at least on low-RAM Android One devices - which
> indicates there is a way to do it that is AOSP-sanctioned.
>
> So... does anyone know how to actually pull it off? Thanks!
>
> Christopher Price
> Console.com.co >