Prevent Sharing when FRP enforcement is in effect

ADB command to trigger sharing:

```
adb shell 'am start -a android.intent.action.CHOOSER --eu android.intent.extra.INTENT "intent:#Intent;action=android.intent.action.SEND;type=text/plain;S.android.intent.extra.TEXT=Shared%20text;end"'
```

Bug: 327645387
Test: Manually, trigger FRP, use adb to trigger sharing
Flag: EXEMPT bugfix
(cherry picked from commit 94d1e1e4e9539437ec0549b7bf22999054b92f1f)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a530903d6bf9c0ec35ac008f2e4ac8772a6da40b)
Merged-In: I4116ecbd3534b0391a5b468ed4cd18f2d4b3ae0a
Change-Id: I4116ecbd3534b0391a5b468ed4cd18f2d4b3ae0a
1 file changed
tree: 84098e180d8de6fa8fd0e0ef403dc1b6db09a46a
  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