Repository: flutter
Issue: Flutter App Flashes Black When Acting as Default Home Application
Labels: platform-android,framework,engine,dependency: android,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-android,triaged-android

## Steps to Reproduce
1. Create a new Flutter application
2. Assign it the following intent filter categories:
```                
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER"/>
```
3. Select the Flutter application as the default home application
4. Use the newly set default home application to launch an app via intents
5. Navigate back home via swipe gesture in Android 11

**Expected results:** 

The app should fade in like any other app would

**Actual results:**
A black screen for .5 seconds then the application loads the splash screen, then the rendered flutter widgets.

<details>
  <summary>Logs</summary>

```H:\bearlauncher\bear_launcher>flutter run --release --verbose
[   +7 ms] executing: [C:\NEWFLUTTER\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +50 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 456d80b9ddd74b4b5ca3b77bbfb70ab0e05d3fa8
[        ] executing: [C:\NEWFLUTTER\flutter/] git tag --contains HEAD
[ +159 ms] Exit code 0 from: git tag --contains HEAD
[   +1 ms] 1.19.0-1.0.pre
[  +10 ms] executing: [C:\NEWFLUTTER\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +34 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/dev
[        ] executing: [C:\NEWFLUTTER\flutter/] git ls-remote --get-url origin
[  +29 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +60 ms] executing: [C:\NEWFLUTTER\flutter/] git rev-parse --abbrev-ref HEAD
[  +32 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] dev
[  +39 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +19 ms] executing: C:\Users\stein\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +34 ms] List of devices attached
           192.168.1.192:5555     device product:coral model:Pixel_4_XL device:coral transport_id:3
[   +8 ms] C:\Users\stein\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.1.192:5555 shell getprop
[ +145 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +70 ms] Found plugin device_apps at C:\NEWFLUTTER\flutter\.pub-cache\hosted\pub.dartlang.org\device_apps-1.0.9\
[  +42 ms] Found plugin device_apps at C:\NEWFLUTTER\flutter\.pub-cache\hosted\pub.dartlang.org\device_apps-1.0.9\
[  +42 ms] Generating H:\bearlauncher\bear_launcher\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +25 ms] ro.hardware = coral
[        ] ro.build.characteristics = nosdcard
[  +37 ms] executing: C:\Users\stein\AppData\Local\Android\sdk\build-tools\29.0.3\aapt dump xmltree H:\bearlauncher\bear_launcher\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[   +9 ms] Exit code 0 from: C:\Users\stein\AppData\Local\Android\sdk\build-tools\29.0.3\aapt dump xmltree H:\bearlauncher\bear_launcher\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="net.andrewcpu.bearlauncher" (Raw: "net.andrewcpu.bearlauncher")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: application (line=17)
                 A: android:label(0x01010001)="bearlauncher" (Raw: "bearlauncher")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="net.andrewcpu.bearlauncher.MainActivity" (Raw: "net.andrewcpu.bearlauncher.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=36)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=46)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=50)
                     E: action (line=51)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=53)
                       A: android:name(0x01010003)="android.intent.category.HOME" (Raw: "android.intent.category.HOME")
                     E: category (line=54)
                       A: android:name(0x01010003)="android.intent.category.DEFAULT" (Raw: "android.intent.category.DEFAULT")
                     E: category (line=55)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=62)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +5 ms] Launching lib\main.dart on Pixel 4 XL in release mode...
[   +2 ms] executing: C:\Users\stein\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.1.192:5555 shell -x logcat -v time -t 1
[  +67 ms] Exit code 0 from: C:\Users\stein\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.1.192:5555 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           05-18 20:39:20.225 I/WifiHAL (  941): event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
[  +16 ms] executing: C:\Users\stein\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +32 ms] Android Debug Bridge version 1.0.41
           Version 30.0.1-6435776
           Installed as C:\Users\stein\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +1 ms] executing: C:\Users\stein\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +33 ms] Building APK
[  +12 ms] Running Gradle task 'assembleRelease'...
[   +1 ms] gradle.properties already sets `android.enableR8`
[   +2 ms] Using gradle from H:\bearlauncher\bear_launcher\android\gradlew.bat.
[        ] H:\bearlauncher\bear_launcher\android\gradlew.bat mode: 33279 rwxrwxrwx.
[   +5 ms] executing: H:\AndroidStudio\jre\bin\java -version
[  +70 ms] Exit code 0 from: H:\AndroidStudio\jre\bin\java -version
[        ] openjdk version "1.8.0_212-release"
           OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
           OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
[   +2 ms] executing: [H:\bearlauncher\bear_launcher\android/] H:\bearlauncher\bear_launcher\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=H:\bearlauncher\bear_launcher\lib\main.dart -Ptrack-widget-creation=true
-Pfilesystem-scheme=org-dartlang-root assembleRelease
[+3481 ms] > Task :app:compileFlutterBuildRelease
[        ] [   +5 ms] executing: [C:\NEWFLUTTER\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +51 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 456d80b9ddd74b4b5ca3b77bbfb70ab0e05d3fa8
[        ] [        ] executing: [C:\NEWFLUTTER\flutter/] git tag --contains HEAD
[        ] [ +158 ms] Exit code 0 from: git tag --contains HEAD
[        ] [        ] 1.19.0-1.0.pre
[        ] [   +7 ms] executing: [C:\NEWFLUTTER\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +32 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/dev
[   +1 ms] [        ] executing: [C:\NEWFLUTTER\flutter/] git ls-remote --get-url origin
[   +1 ms] [  +28 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] [        ] https://github.com/flutter/flutter.git
[        ] [  +59 ms] executing: [C:\NEWFLUTTER\flutter/] git rev-parse --abbrev-ref HEAD
[   +1 ms] [  +32 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[  +15 ms] [        ] dev
[   +1 ms] [  +25 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +3 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +3 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [   +9 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +4 ms] [   +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [  +52 ms] Initializing file store
[        ] [  +11 ms] Done initializing file store
[        ] [ +409 ms] Skipping target: kernel_snapshot
[        ] [  +24 ms] Skipping target: aot_android_asset_bundle
[        ] [  +27 ms] Skipping target: android_aot_release_android-arm64
[   +1 ms] [  +28 ms] Skipping target: android_aot_bundle_release_android-arm64
[        ] [        ] Persisting file store
[        ] [  +12 ms] Done persisting file store
[        ] [   +5 ms] build succeeded.
[        ] [  +12 ms] "flutter assemble" took 609ms.
[        ] > Task :app:packLibsflutterBuildRelease UP-TO-DATE
[   +1 ms] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preReleaseBuild UP-TO-DATE
[        ] > Task :device_apps:preBuild UP-TO-DATE
[        ] > Task :device_apps:preReleaseBuild UP-TO-DATE
[   +9 ms] > Task :device_apps:compileReleaseAidl NO-SOURCE
[        ] > Task :app:compileReleaseAidl NO-SOURCE
[        ] > Task :device_apps:packageReleaseRenderscript NO-SOURCE
[        ] > Task :app:compileReleaseRenderscript NO-SOURCE
[        ] > Task :app:checkReleaseManifest UP-TO-DATE
[        ] > Task :app:generateReleaseBuildConfig UP-TO-DATE
[   +1 ms] > Task :app:cleanMergeReleaseAssets
[   +1 ms] > Task :app:mergeReleaseShaders UP-TO-DATE
[        ] > Task :app:compileReleaseShaders UP-TO-DATE
[        ] > Task :app:generateReleaseAssets UP-TO-DATE
[        ] > Task :device_apps:mergeReleaseShaders UP-TO-DATE
[        ] > Task :device_apps:compileReleaseShaders UP-TO-DATE
[        ] > Task :device_apps:generateReleaseAssets UP-TO-DATE
[        ] > Task :device_apps:packageReleaseAssets UP-TO-DATE
[        ] > Task :app:mergeReleaseAssets
[  +89 ms] > Task :app:copyFlutterAssetsRelease
[   +2 ms] > Task :app:mainApkListPersistenceRelease UP-TO-DATE
[   +1 ms] > Task :app:generateReleaseResValues UP-TO-DATE
[        ] > Task :app:generateReleaseResources UP-TO-DATE
[        ] > Task :device_apps:generateReleaseResValues UP-TO-DATE
[        ] > Task :device_apps:compileReleaseRenderscript NO-SOURCE
[        ] > Task :device_apps:generateReleaseResources UP-TO-DATE
[        ] > Task :device_apps:packageReleaseResources UP-TO-DATE
[        ] > Task :app:mergeReleaseResources UP-TO-DATE
[        ] > Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE
[   +1 ms] > Task :device_apps:checkReleaseManifest UP-TO-DATE
[        ] > Task :device_apps:processReleaseManifest UP-TO-DATE
[        ] > Task :app:processReleaseManifest UP-TO-DATE
[        ] > Task :device_apps:parseReleaseLibraryResources UP-TO-DATE
[        ] > Task :device_apps:generateReleaseRFile UP-TO-DATE
[        ] > Task :app:processReleaseResources UP-TO-DATE
[        ] > Task :device_apps:generateReleaseBuildConfig UP-TO-DATE
[        ] > Task :device_apps:javaPreCompileRelease UP-TO-DATE
[        ] > Task :device_apps:compileReleaseJavaWithJavac UP-TO-DATE
[        ] > Task :device_apps:bundleLibCompileRelease UP-TO-DATE
[        ] > Task :app:compileReleaseKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileRelease UP-TO-DATE
[   +1 ms] > Task :app:compileReleaseJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileReleaseSources UP-TO-DATE
[        ] > Task :app:prepareLintJar UP-TO-DATE
[        ] > Task :device_apps:prepareLintJarForPublish UP-TO-DATE
[ +678 ms] > Task :app:lintVitalRelease
[   +1 ms] > Task :device_apps:processReleaseJavaRes NO-SOURCE
[        ] > Task :device_apps:bundleLibResRelease UP-TO-DATE
[        ] > Task :device_apps:bundleLibRuntimeRelease UP-TO-DATE
[        ] > Task :device_apps:createFullJarRelease UP-TO-DATE
[        ] > Task :app:checkReleaseDuplicateClasses UP-TO-DATE
[        ] > Task :app:desugarReleaseFileDependencies UP-TO-DATE
[        ] > Task :app:transformClassesWithDexBuilderForRelease UP-TO-DATE
[        ] > Task :app:mergeExtDexRelease UP-TO-DATE
[        ] > Task :app:mergeDexRelease UP-TO-DATE
[        ] > Task :app:processReleaseJavaRes NO-SOURCE
[        ] > Task :app:mergeReleaseJavaResource UP-TO-DATE
[        ] > Task :app:validateSigningRelease UP-TO-DATE
[        ] > Task :app:signingConfigWriterRelease UP-TO-DATE
[  +65 ms] > Task :app:mergeReleaseJniLibFolders UP-TO-DATE
[   +1 ms] > Task :device_apps:mergeReleaseJniLibFolders UP-TO-DATE
[        ] > Task :device_apps:mergeReleaseNativeLibs UP-TO-DATE
[        ] > Task :device_apps:stripReleaseDebugSymbols UP-TO-DATE
[        ] > Task :device_apps:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
[        ] > Task :app:mergeReleaseNativeLibs UP-TO-DATE
[        ] > Task :app:stripReleaseDebugSymbols UP-TO-DATE
[        ] > Task :app:packageRelease UP-TO-DATE
[        ] > Task :app:assembleRelease
[        ] > Task :device_apps:extractReleaseAnnotations UP-TO-DATE
[        ] > Task :device_apps:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[        ] > Task :device_apps:mergeReleaseConsumerProguardFiles UP-TO-DATE
[        ] > Task :device_apps:mergeReleaseJavaResource UP-TO-DATE
[        ] > Task :device_apps:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[        ] > Task :device_apps:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[        ] > Task :device_apps:bundleReleaseAar UP-TO-DATE
[        ] > Task :device_apps:compileReleaseSources UP-TO-DATE
[        ] > Task :device_apps:mergeReleaseResources UP-TO-DATE
[        ] > Task :device_apps:verifyReleaseResources UP-TO-DATE
[        ] > Task :device_apps:assembleRelease UP-TO-DATE
[        ] BUILD SUCCESSFUL in 4s
[        ] 63 actionable tasks: 6 executed, 57 up-to-date
[ +360 ms] Running Gradle task 'assembleRelease'... (completed in 4.9s)
[  +11 ms] calculateSha: LocalDirectory: 'H:\bearlauncher\bear_launcher\build\app\outputs\flutter-apk'/app.apk
[   +6 ms] calculateSha: reading file took 5us
[  +69 ms] calculateSha: computing sha took 69us
[   +5 ms] √ Built build\app\outputs\flutter-apk\app-release.apk (6.3MB).
[   +3 ms] executing: C:\Users\stein\AppData\Local\Android\sdk\build-tools\29.0.3\aapt dump xmltree H:\bearlauncher\bear_launcher\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +15 ms] Exit code 0 from: C:\Users\stein\AppData\Local\Android\sdk\build-tools\29.0.3\aapt dump xmltree H:\bearlauncher\bear_launcher\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="net.andrewcpu.bearlauncher" (Raw: "net.andrewcpu.bearlauncher")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: application (line=17)
                 A: android:label(0x01010001)="bearlauncher" (Raw: "bearlauncher")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="net.andrewcpu.bearlauncher.MainActivity" (Raw: "net.andrewcpu.bearlauncher.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=36)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=46)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=50)
                     E: action (line=51)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=53)
                       A: android:name(0x01010003)="android.intent.category.HOME" (Raw: "android.intent.category.HOME")
                     E: category (line=54)
                       A: android:name(0x01010003)="android.intent.category.DEFAULT" (Raw: "android.intent.category.DEFAULT")
                     E: category (line=55)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=62)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +2 ms] Stopping app 'app.apk' on Pixel 4 XL.
[        ] executing: C:\Users\stein\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.1.192:5555 shell am force-stop net.andrewcpu.bearlauncher
[ +114 ms] executing: C:\Users\stein\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.1.192:5555 shell pm list packages net.andrewcpu.bearlauncher
[  +64 ms] package:net.andrewcpu.bearlauncher
[   +1 ms] executing: C:\Users\stein\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.1.192:5555 shell cat /data/local/tmp/sky.net.andrewcpu.bearlauncher.sha1
[  +50 ms] 86da9c057e963e8f7682df2ade20ae9f7dd9c905
[        ] Latest build already installed.
[        ] Pixel 4 XL startApp
[        ] executing: C:\Users\stein\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.1.192:5555 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true
net.andrewcpu.bearlauncher/net.andrewcpu.bearlauncher.MainActivity
[  +65 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=net.andrewcpu.bearlauncher/.MainActivity (has extras) }
[   +1 ms] Application running.
[   +1 ms] Flutter run key commands.
[   +1 ms] h Repeat this help message.
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[+121188 ms] executing: C:\Users\stein\AppData\Local\Android\sdk\platform-tools\adb.exe -s 192.168.1.192:5555 shell am force-stop net.andrewcpu.bearlauncher
[ +123 ms] Application finished.
```

```
```



```
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
H:\bearlauncher\bear_launcher>flutter doctor -v
[√] Flutter (Channel dev, 1.19.0-1.0.pre, on Microsoft Windows [Version 10.0.18363.778], locale en-US)
    • Flutter version 1.19.0-1.0.pre at C:\NEWFLUTTER\flutter
    • Framework revision 456d80b9dd (7 days ago), 2020-05-11 11:45:03 -0400
    • Engine revision d96f962ca2
    • Dart version 2.9.0 (build 2.9.0-7.0.dev 092ed38a87)


[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\stein\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: H:\AndroidStudio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.6)
    • Android Studio at H:\AndroidStudio
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] IntelliJ IDEA Ultimate Edition (version 2019.3)
    • IntelliJ at C:\Users\stein\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\193.5233.102
    • Flutter plugin version 45.1.2
    • Dart plugin version 193.5731

[√] Connected device (3 available)
    • Pixel 4 XL • 192.168.1.192:5555 • android-arm64  • Android 10 (API 29)
    • Web Server • web-server         • web-javascript • Flutter Tools
    • Chrome     • chrome             • web-javascript • Google Chrome 81.0.4044.138

• No issues found!

```

```
2020-05-18 20:45:13.804 1493-3598/? I/ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=net.andrewcpu.bearlauncher/.MainActivity (has extras)} from uid 10155
2020-05-18 20:45:13.827 1493-1511/? W/EventSequenceValidator: IntentStarted during UNKNOWN. Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=net.andrewcpu.bearlauncher/.MainActivity (has extras) }
    java.lang.Throwable: EventSequenceValidator#getStackTrace
        at com.google.android.startop.iorap.EventSequenceValidator.logWarningWithStackTrace(EventSequenceValidator.java:260)
        at com.google.android.startop.iorap.EventSequenceValidator.onIntentStarted(EventSequenceValidator.java:106)
        at com.android.server.wm.LaunchObserverRegistryImpl.handleOnIntentStarted(LaunchObserverRegistryImpl.java:139)
        at com.android.server.wm.LaunchObserverRegistryImpl.lambda$veRn_GhgLZLlOHOJ0ZYT6KcfYqo(Unknown Source:0)
        at com.android.server.wm.-$$Lambda$LaunchObserverRegistryImpl$veRn_GhgLZLlOHOJ0ZYT6KcfYqo.accept(Unknown Source:10)
        at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:292)
        at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:201)
        at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:97)
        at android.os.Handler.handleCallback(Handler.java:907)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:223)
        at android.os.HandlerThread.run(HandlerThread.java:67)
        at com.android.server.ServiceThread.run(ServiceThread.java:44)

```

 from logcat

</details>

Video of screen flashing black: https://youtu.be/-rnDlcwvQM8