commit | 1c1cecdab4600baefcc1d3ccfbb4f9753b57840b | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Thu Aug 10 16:20:38 2023 +0900 |
committer | Yunzhang Pei <peiyz@google.com> | Mon Aug 14 05:23:54 2023 +0000 |
tree | 170db3c206812d9786be44bbe163bb32e66c104a | |
parent | 0694284e2a35d423758bc8056ffb1e694d971cd9 [diff] |
Fix DevSdkIgnoreRule for Q- UnboundedSdkLevel stopped working on Q as it now depends on Set.of, which is an R+ API. Arguably this should be fixed as its minSdk is still 29, but long-term UnboundedSdkLevel may drop Q support as modules now only need to support R+. Avoid using UnboundedSdkLevel on Q- in DevSdkIgnoreRule: this avoids the above problem, and also makes it compatible with even older builds, which may happen in GTS. Bug: 295166425 Test: all tests using this rule (cherry picked from https://android-review.googlesource.com/q/commit:25b8e8f680159c614fcb8dc1495254a66d9038ce) Merged-In: I5e1559d841398a6c6763283f32c9f766a3661e21 Change-Id: I5e1559d841398a6c6763283f32c9f766a3661e21