I am trying to test scoped storage in my app and I need to be able to toggle scoped storage on and off for testing. According to the development documentation:
To enable scoped storage in your app, regardless of your app's target SDK version and manifest flag values, enable the following app compatibility flags:
DEFAULT_SCOPED_STORAGE (enabled for all apps by default) FORCE_ENABLE_SCOPED_STORAGE (disabled for all apps by default)
Important: When toggling this change off for app testing, you must also disable FORCE_ENABLE_SCOPED_STORAGE (if it is not already disabled) to restore the legacy storage behavior.
I am able to toggle FORCE_ENABLE_SCOPED_STORAGE in the phone's Developer Settings, but the DEFAULT_SCOPED_STORAGE item is disabled and cannot be toggled. How do I toggle it? Both switches must be set to the off position to disable scoped storage for testing.