diff options
author | 2023-06-13 11:35:10 +0900 | |
---|---|---|
committer | 2024-05-14 14:15:46 +0200 | |
commit | 5d602200a4a17678f064e45f6a07682bd29d9543 (patch) | |
tree | 07342d517576a19b59189be6b3ff1af6a8bc8095 /cmds/bootanimation/BootAnimation.cpp | |
parent | 24ea590c058699f9c4dc8aee38cd2fab1a4d0c5c (diff) |
Do not overwrite user set or live wallpapers
WallpaperUpdateReceiver unconditionally updates the wallpaper
to the default_wallpaper when DEVICE_CUSTOMIZATION_READY is
received.
This overwrites live wallpapers and user set wallpapers.
Just clear the wallpaper when there is no live wallpaper to
avoid this from happening.
Test: set a wallpaper and run
adb shell am broadcast \
-a android.intent.action.DEVICE_CUSTOMIZATION_READY \
-f 0x01000000
Bug: 159673283
Change-Id: I385c28be84b9146e8620910258495f5d71b9c04e
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions