Check for EXTRA_CHOOSER_RESULT for backcompat until V2 is released

This keeps the existing functionality working in V1, with the flag enabled for apps using Intent.createChooser which will begin sending
the new extra value.

The extra used has no bearing on functionality. With the feature flag
disabled, the same functionality continues while also accepting the
the extra name from Intent.createChooser.

Without this, apps using Intent.createChooser will stop receiving
results with the flag[1] disabled.

[1]  intentresolver/com.android.intentresolver.modular_framework

Bug: 325545074
Test: atest android.content.cts.IntentTest#testCreateChooser
Change-Id: Id25de6410835a85e71cb58277015d8ede51f4e4d
1 file changed
tree: d8e9f33eff023cbf6bc1aa032a4f5ab336e78c2a
  1. aconfig/
  2. java/
  3. tests/
  4. Android.bp
  5. AndroidManifest-app.xml
  6. AndroidManifest-lib.xml
  7. OWNERS
  8. PREUPLOAD.cfg
  9. proguard.flags
  10. README.md
  11. TEST_MAPPING
README.md

IntentResolver

About

IntentResolver provides the implementation for Intent ACTION_CHOOSER

See also: ShareCompat.IntentBuilder