InMemoryShellPreferencesRepository
ShellPreferencesRepository kept in memory, for tests, previews, and apps that do not persist the shell's settings. Starts from initial, and a reset returns to defaults.
Properties
The app's defaults: what a setting nobody chose reads as, and what resetDeveloperOptions returns to. The Toolkit's own defaults unless the app declared its own.
The settings last read in this process, if any, so an activity recreated by a rotation starts from them instead of waiting a frame for the store.
The current settings, then every change.
Functions
Forgets every developer option, so the shell is again as the app declares it in defaults. Every ShellSettings value is a developer option; the person's own preferences live elsewhere and are not touched.
Replaces the settings with transform applied to the current ones, atomically.