ASL change toList to collect(Collectors.toList()) for compatibility with Google3 which uses and older JDK version.

Bug: b/329902686
Test: Unit tests
Flag: NONE (Command-line tool which doesn't affect Android functionality)
Change-Id: I84ce58aef86136b36f91ddc4687cc7e475a9a1f5
3 files changed