Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8de5556a authored by Merissa Mitchell's avatar Merissa Mitchell
Browse files

Add configuration.assetsSeq check to equalsForTaskOrganizer

so that changing the system theme color triggers a onTaskInfoChanged
call. This will allow app headers (specifically for Wallpaper & Style
page in Settings app) to update its color accordingly.

This CL also removes a workaround that was added in
I1ebabd7e16d0fa4a71f889564781d28b1b303596 for the Settings page
mentioned above.

This CL also sets windowDecorationViewHolder to null in
CaptionController#releaseViews for WindowDecor2, so that the header gets
reinflated appropriately.

Fixes: 437224867
Bug: 412489198
Flag: EXEMPT bugfix
Test: atest WMShellUnitTests:com.android.wm.shell.windowdecor
Test: Manual - navigate to Wallpaper & Style in Settings > change the
Home screen color > observe that the header changes color along with the
app content. Test with enable_window_decoration_refactor flag off and
on.

Change-Id: I770db40d8c76ad3faa1ca238a9e0c79436a2bb17
parent 7f384b84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment