diff options
| author | 2023-04-26 00:44:08 +0000 | |
|---|---|---|
| committer | 2023-05-12 18:15:23 +0000 | |
| commit | aad58839271c0cb2ff60eaa363bdb6e2dba039b2 (patch) | |
| tree | 861ded025416817f9c316e081d5af97b2511d4eb /libs/androidfw/ObbFile.cpp | |
| parent | 9aa7ca073b00421e1df0ad1c1354e7e61ac56a82 (diff) | |
LS Wallpaper Sampling for LS Smartspace
Refactoring RegionSampler implementations (LS smartspace) to
properly sample from lockscreen wallpaper since it is no longer an image
view.
This also addresses an edge case where Wallpaper Colors was incorrectly
calculating the hint for applying dark text on an all-white
wallpaper/region if it was very small.
This change also introduces new unit tests for Region Sampler to ensure
there is full test coverage for this feature.
Flag: region_sampling
Bug: 265968912
Test: manual, atest WallpaperColorsTest, atest RegionSamplerTest
Change-Id: Ic46c7c86bf8bc28eb0cb01c202f785a181c83564
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions