Changes in wallpaper = changes in configuration?
Update 2021-10-31: See the next post for the solution to what’s happening here.
Question this stack Pointed out an interesting problem in the shipping edition of Android 12: Changing the wallpaper brings an effect that feels a court Like a configuration change.
especially:
As the person who asked the SO question suggests, it feels like it is related to Material You. I can see maybe a configuration change for this scenario, for apps that want to respond to the new colors resulting from the new wallpaper.
However, at the same time, it does not seem to respect anyone android:configChange
Values, even Undocumented.
🤔
I can see some options for what is happening:
-
This is a configuration change, and there is
android:configChanges
A value we can use, but that value does not go into the documentation or points in the source code I checked -
This is a configuration change, but Google has chosen not to accept
android:configChanges
Value for him -
It’s not a configuration change, but something that behaves a bit like one
For apps that rely on avoiding the automatic destruction / recovery cycle of configuration changes, whatever Can cause serious problems.
If you have some insights into what’s going on here, Post an answer,
Add a useful note, Or just contact !.
– October 30, 2021