summaryrefslogtreecommitdiff
path: root/native/android/input.cpp
diff options
context:
space:
mode:
author Chris Göllner <chrisgollner@google.com> 2024-06-05 14:28:24 +0100
committer Chris Göllner <chrisgollner@google.com> 2024-06-05 16:31:20 +0100
commit03563509892992a392ddd560a3c485e449b99594 (patch)
tree6e2b7260d36e3761f38509e50d2e9c566c2955ea /native/android/input.cpp
parentf7caa4dfabb88bae908153e1cfb32f275dc19305 (diff)
ShortcutHelper: fix UnsupportedOperationException when merging shortcuts
The crash can happen when the received app shortcut groups is an empty list that was instantiated using Collections.emptyList(). Calling add() or addAll() on it will crash, as it isn't implemented. Fixes: 345025561 Test: KeyboardShortcutsTest Flag: NONE simple bug fix Change-Id: I321d531057856bba0600dbf9407521790d5304e9
Diffstat (limited to 'native/android/input.cpp')
0 files changed, 0 insertions, 0 deletions