I am building AOSP from its 5.1 branch, I would like to know how to include static wallpapers in my custom build since there is only one in there by default.
I would like to know two things :
I will not suggest you to modify the AOSP tree structure. The AOSP provides the "device/your_company/device_name/overlay/" directory which is provided just to customize your device by adding resources files. Match the tree structure as defined in original directory tree structure. To change your default wallpaper you will have dir structure below aosp_root/device/your_company/your_device/overlay/frameworks/base/core/res/res/drawable-nodpi(or your device resolution)/default_wallpaper.jpg modify your picture with same name. compile the image and you should see the default walloper.
if you are looking to include it for one specific device i'd recommend you to include them in your device tree and copy it over . for generic purpose you could create a makefile and include it in your tree on general build config makefile..
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.