commit | 03563509892992a392ddd560a3c485e449b99594 | [log] [tgz] |
---|---|---|
author | Chris Göllner <chrisgollner@google.com> | Wed Jun 05 14:28:24 2024 +0100 |
committer | Chris Göllner <chrisgollner@google.com> | Wed Jun 05 16:31:20 2024 +0100 |
tree | 6e2b7260d36e3761f38509e50d2e9c566c2955ea | |
parent | f7caa4dfabb88bae908153e1cfb32f275dc19305 [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