diff options
| author | 2023-08-29 13:05:21 +0000 | |
|---|---|---|
| committer | 2023-09-22 12:44:07 +0000 | |
| commit | f324a0d84fc3e46f3f1c80f9e02a07bde256a4d7 (patch) | |
| tree | 3e63446e17bbffd7c74d88aa400dfb452a921638 /api/api_test.go | |
| parent | 697580188a9b2e4d251051fc329d0f063f3a50fa (diff) | |
WallpaperManager clear API changes
The goal is to align WallpaperManager#clear with
WallpaperManager#clearWallpaper.
There are two changes:
- clear(FLAG_SYSTEM) will no longer clear both wallpapers, it will only
clear the FLAG_SYSTEM wallpaper (and migrate it to the lock screen if it
is a shared wallpaper)
- clear() and clear(which) will always set the default wallpaper
defined for the device. They won't set an ImageWallpaper unless it's the
default wallpaper.
Bug: 295176688
Test: atest WallpaperManagerTest
Change-Id: I48a83b13eed9a5035f00405f679baf0163bd217d
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions