Do not crash if max aspect ratio falls below min aspect ratio

The effective aspect ratio for the item will be in the range of
[minOf(MIN_ASPECT_RATIO, maxAspectRatio), maxOf(MIN_ASPECT_RATIO,
maxAspectRatio)] i.e. we always try to fit items into the view port even
if the effective AR will be lower than the minimum AR.

Bug: 351094699
Test: manual testing
Flag: EXEMPT bugfix
Change-Id: I6ae117ff816f47185caebc68c7fd3c670eacff33
1 file changed
tree: dfbf653b731e45497c5fd6d2b324afe335f5817a
  1. aconfig/
  2. java/
  3. tests/
  4. Android.bp
  5. AndroidManifest-app.xml
  6. AndroidManifest-lib.xml
  7. lint-baseline.xml
  8. OWNERS
  9. PREUPLOAD.cfg
  10. proguard.flags
  11. README.md
  12. TEST_MAPPING
README.md

IntentResolver

About

IntentResolver provides the implementation for Intent ACTION_CHOOSER

See also: ShareCompat.IntentBuilder