Repository: flutter
Issue: [integration_test] test hangs on with ContentProvider
Labels: a: tests,platform-android,f: integration_test,has reproducible steps,P2,found in release: 2.9,team-android,triaged-android

## Steps to Reproduce

1. Execute `flutter test integration_test/app_test.dart` on the reproducible

**Expected results:**
Test passes, the `main.dart` file contains the same code as the integration test, so run with `flutter run` to verify
```
call update
done !
✓ update
Exited
```

**Actual results:**
Test times out
```
call update
TimeoutException after 0:00:30.000000: Test timed out after 30 seconds. See https://pub.dev/packages/test#timeouts
dart:isolate  _RawReceivePortImpl._handleMessage

✖ update
Exited (1)
```

Reproducible https://github.com/nt4f04unds-archive/issues/tree/flutter_96739 (to clone use the command from the README)

It uses the package `android_content_provider`, which is a wrapper for native ContentProvider/ContentResolver APIs on Android. I debugged it in the native code, and the problem is that the ContentProvider is never even resolved, so I'd expect the same results if I was using them natively directly.

<details>
  <summary>flutter doctor -v</summary>

```
[√] Flutter (Channel page-view, 2.9.0-1.0.pre.389, on Microsoft Windows [Version 10.0.19041.1415], locale ru-RU)
    • Flutter version 2.9.0-1.0.pre.389 at C:\dev\src\flutter
    • Upstream repository git@github.com:nt4f04und/flutter.git
    • FLUTTER_GIT_URL = git@github.com:nt4f04und/flutter.git
    • Framework revision a37a8b6bf3 (32 hours ago), 2022-01-16 05:06:55 +0300
    • Engine revision 83d99a5809
    • Dart version 2.17.0 (build 2.17.0-16.0.dev)
    • DevTools version 2.9.2

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\danya\AppData\Local\Android\sdk
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.7)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.7.30621.155
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] VS Code (version 1.63.2)
    • VS Code at C:\Users\danya\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.32.0

[√] Connected device (4 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)       • windows       • windows-x64    • Microsoft Windows [Version 10.0.19041.1415]
    • Chrome (web)            • chrome        • web-javascript • Google Chrome 97.0.4692.71
    • Edge (web)              • edge          • web-javascript • Microsoft Edge 97.0.1072.62

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.
```
</details>