diff --git a/app/src/main/java/io/github/sds100/keymapper/actions/ActionUtils.kt b/app/src/main/java/io/github/sds100/keymapper/actions/ActionUtils.kt index e7f6f00083..c390ed56fa 100644 --- a/app/src/main/java/io/github/sds100/keymapper/actions/ActionUtils.kt +++ b/app/src/main/java/io/github/sds100/keymapper/actions/ActionUtils.kt @@ -419,6 +419,9 @@ object ActionUtils { fun getMaxApi(id: ActionId): Int = when (id) { ActionId.SHOW_KEYBOARD_PICKER -> Build.VERSION_CODES.P + // The global action still fails even though the API exists in SDK 34. + ActionId.COLLAPSE_STATUS_BAR -> Build.VERSION_CODES.TIRAMISU + else -> Constants.MAX_API } diff --git a/docs/user-guide/actions.md b/docs/user-guide/actions.md index b5cf8df423..70b7f70cab 100644 --- a/docs/user-guide/actions.md +++ b/docs/user-guide/actions.md @@ -141,7 +141,7 @@ This will increase or decrease a specific one of these volume streams. ### Expand/toggle quick settings -### Collapse the status bar +### Collapse the status bar (up to Android 14) ### Play/pause/toggle media