commit | f8da16d612f75397cc14493fed265e29b307bc14 | [log] [tgz] |
---|---|---|
author | Aneesh Kher <kaneesh@google.com> | Wed Jul 26 11:51:59 2023 -0700 |
committer | Aneesh Kher <kaneesh@google.com> | Wed Jul 26 13:02:24 2023 -0700 |
tree | 5b70cab2327f82adcd342305937849b6768449a9 | |
parent | 8f3bc0ffe789bb07638a8d4d7303e8fd8c5c3aab [diff] |
Replace steam.toList() with Collectors.toList() The existing implementation is using the toList() method defined in java.util.stream.Stream. This causes backward compatibility issues with devices running T or lower. Replacing this with the toList() method defined in java.util.stream.Collectors fixes the problem. Test: make gcatbox; make ats This change has been tested on a locally connected reference device. Bug: 293302152 Change-Id: I5ceecfc6ab010f83976348bfea0cd7bb069afebf