Skip to content

Commit a3750b6

Browse files
committed
#1101 fix: deprecate split screen action on Android 12L and newer
1 parent 65bffa9 commit a3750b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/src/main/java/io/github/sds100/keymapper/actions/ActionUtils.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,10 @@ object ActionUtils {
431431
ActionId.TOGGLE_BLUETOOTH,
432432
-> Build.VERSION_CODES.S_V2
433433

434+
// See https://issuetracker.google.com/issues/225186417. The global action
435+
// is not marked as deprecated even though it doesn't work.
436+
ActionId.TOGGLE_SPLIT_SCREEN -> Build.VERSION_CODES.S
437+
434438
else -> Constants.MAX_API
435439
}
436440

0 commit comments

Comments
 (0)