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
1 file changed
tree: 170db3c206812d9786be44bbe163bb32e66c104a
  1. client-libs/
  2. common/
  3. .gitignore
  4. OWNERS
  5. PREUPLOAD.cfg
  6. TEST_MAPPING