Fix linter NewApi warning for Set.copyOf()

Set.copyOf() is new in S and unavailable in R.
Instead, use new ArraySet<>() which is available
in all SDK versions.

Bug: 173705789
Test: m lint-check
Change-Id: Ia697056477c1daa6d5adb6c07d8452dfc764c1ad
2 files changed