Skip to content

Fix missing and stale Monet wallpaper colors - #1347

Open
pbzin wants to merge 2 commits into
crdroidandroid:16.0from
pbzin:fix-wallpaper-monet-refresh
Open

Fix missing and stale Monet wallpaper colors#1347
pbzin wants to merge 2 commits into
crdroidandroid:16.0from
pbzin:fix-wallpaper-monet-refresh

Conversation

@pbzin

@pbzin pbzin commented Aug 29, 2026

Copy link
Copy Markdown

Summary

  • recover colors from a sampled static wallpaper crop when ImageWallpaper leaves primaryColors unset
  • persist and broadcast the recovered WallpaperColors through WallpaperManagerService
  • refresh status-bar clock-chip and custom lockscreen-clock resources through SystemUI ConfigurationController theme events
  • make the transparent accent clock chip use the fabricated Monet accent directly

Root cause

After applying separate static HOME and LOCK wallpapers, ImageWallpaper could leave HOME primaryColors null. ThemePicker then had no HOME palette. Separately, clock backgrounds were recreated only when their style or position changed, so they retained drawables from the previous fabricated overlay.

Runtime validation

  • direct IWallpaperManager calls initially returned HOME null and valid LOCK colors
  • after the fallback, HOME and LOCK both returned valid colors and ThemePicker palettes returned
  • inspected the installed SystemUI APK with aapt2 to confirm the dynamic accent resource
  • observed a stale clock drawable while the active system_accent1_300 had already changed
  • toggling only clock style 9 to 0 and back recreated it with the correct active accent
  • tested the final ConfigurationController theme callback path on crDroid 16 QPR2
  • git diff --check and reverse patch checks passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant