Use the new packageManager API to forward intents

use resolveActivityAsUserForExplicitType in IntentForwarderActivity to prevent checking the intent's type twice.

Bug: 403565650
Flag: EXEMPT bugfix
Test: manually tested
Change-Id: I0df7c8a89db844dc5dbb771bbb68932595a86eed
2 files changed
tree: 813cd5484870f27d637fbc48d7ee852862cef989
  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