Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 03563509 authored by Chris Göllner's avatar Chris Göllner
Browse files

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
parent f7caa4df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment