Commit d0cb6c0c authored by Mugurell's avatar Mugurell
Browse files

For #18027 - Document shouldUseFixedTopToolbar

parent 0a0f75d2
......@@ -468,6 +468,13 @@ class Settings(private val appContext: Context) : PreferencesHolder {
true
)
/**
* Prefer to use a fixed top toolbar when:
* - a talkback service is enabled or
* - switch access is enabled.
*
* This is automatically inferred based on the current system status. Not a setting in our app.
*/
val shouldUseFixedTopToolbar: Boolean
get() {
return touchExplorationIsEnabled || switchServiceIsEnabled
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment