First, create the custom directory under the/device/vimicro/v971/directory, and then create the directory overlay \ frameworks \ base \ core \ res \ drawable. Put the default wallpaper default_wallpaper.jpg on the bottom. Then, create the device_custom.mk file in the Custom directory and write it in it
# Set overwrite directory
Device_package_overlays: = device/vimicro/v971/custom/overlay
Of course, many user-level files can be customized under the custom directory, such as app and media, and then processed in the device_custom.mk file! It is best to include the device_custom.mk file in an MK file, for example, $ (call inherit-product-if-exists, device/vimicro/v971/custom/device_custom.mk) in this way, the android compilation system can be traversed.
Reason:
Based on overlays \ backup \ frameworks \ base \ packages \ settingsprovider \ res \ values \ defaults. XML in the device \ sample directory,
In the device \ sample \ products directory, backup_overlay.mk product_package_overlays: = device/sample/overlays/backup
In this way, the original ults. xml file is replaced. Then we can replace the default wallpaper of Android.