Fix ChooserActivity crash when launched with a caller-provided target

Fix java.lang.UnsupportedOperationException at
ShortcutSelectionLogic.addServiceResults() when trying to sort an unmodifiable
collection.
A new unit test for launcing ChooserActivity with a caller-provided
target is added.

Fix: 261215405
Test: manual test
Test: atest IntentResolverUnitTests
Change-Id: I8a28e074044e932753ab4906409cded67f4ccdad
2 files changed