Skip to content

Commit

Permalink
Merge pull request #1244 from keymapperorg/fix/1194-collapse-status-b…
Browse files Browse the repository at this point in the history
…ar-failed-failed-perform-global-action-15

#1194 fix: disable action for collapsing status bar on Android 14
  • Loading branch information
sds100 authored Jul 7, 2024
2 parents 2070f62 + 1c69746 commit cec4fae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cec4fae

Please sign in to comment.