Remove experiment code to promote nearby as 1st target
- Verified that we don't expect to do this experiment in U, nothing else
was using this code so we can simplify.
- Fix NPE that was hidden in the code (see bug).
- Slight change to the excluded components behavior where the entire
array given for EXTRA_EXCLUDE_COMPONENTS must be of type
ComponentName[] otherwise it'll be ignored after logging an error.
Relevant prior CLs:
- ag/15527538 added this functionality (zzhen)
- ag/17871086 added direct share pinning and modified some of these
methods (songhu)
Bug: 254895117
Test: atest AbstractResolverComparatorTest
Test: atest CtsSharesheetDeviceTest (with flag enabled)
Test: Manual verification that nearby component still hidden.
Change-Id: I0306eb2547a2f60823d7c9d77d86e743d432fefc
5 files changed