Feature description:
An addition to the API to allow toggling of the “Hide Status Bar” setting via external apps. (As well as the “Ignore camera hole protection” nested setting?)
Problem solved:
Applying an App Style does not affect the state of the “Hide Status Bar” toggle. (This is fine, so that users don’t lose access to the Status Bar when importing someone’s theme.)
However, power users may wish to toggle this setting when various conditions are met.
Brought benefits:
Allows power users to hide Status Bar dynamically.
Examples: only in landscape; when connected to an external display; when also applying an App Style via API; etc.
Other application solutions:
Additional description and context:
Status Bar is fine in portrait but takes valuable space in landscape. Even normal users could benefit from a simple “Only hide in Landscape” option.
As for the API usage… I have a “Foldable” layout as an entirely separate App Style, which is applied via Tasker when the device is unfolded. It’d be great if I could control the Status Bar alongside the App Style change.
(Sadly ADB’s “Immersive Mode” command is useless on my device, so I can’t use that.)
Screenshots / Mockup: