Repository: flutter
Issue: Android Back gesture should dismiss text selection menu, not also navigate
Labels: a: text input,framework,f: material design,a: typography,c: proposal,team-design,triaged-design

## Steps to Reproduce

1. Run `flutter create bug`.
2. Update the files by making a SelectableText widget:
```diff
diff --git a/lib/main.dart b/lib/main.dart
index d8a052651..7aca97c4e 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -95,3 +95,3 @@ class _MyHomePageState extends State<MyHomePage> {
           children: <Widget>[
-            Text(
+            SelectableText(
               'You have pushed the button this many times:',
```

3. Run the app on Android, and long-press on the text. This will select part of the text and bring up the text selection menu.
4. Activate the system back gesture (i.e., swipe from edge, if on Android 10+ and have that enabled; or tap the system back button otherwise.)

**Expected results:** <!-- what did you want to see? -->

The text selection menu should disappear, and the app should otherwise remain as it is.

This is the normal behavior of the text selection menu on Android, and is a way that users are accustomed to dismissing the menu.

This also parallels the behavior of a popup menu. Flutter's PopupMenuButton correctly implements this behavior: on activating the system back gesture when a popup menu is open, the menu is dismissed and no other navigation happens.

**Actual results:** <!-- what did you see? -->

The app exits completely.

More generally, the app navigates back, just as if you hadn't had the text selection menu open when you activated the system back gesture. In the sample app, that exits the app.

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->

```
$ flutter run --verbose
[  +47 ms] executing: [/home/greg/n/flutter/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +22 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 5d36f2e7f5387b6c751449258ade8e4e6edf99be
[        ] executing: [/home/greg/n/flutter/flutter/] git tag --points-at 5d36f2e7f5387b6c751449258ade8e4e6edf99be
[  +13 ms] Exit code 0 from: git tag --points-at 5d36f2e7f5387b6c751449258ade8e4e6edf99be
[        ] 1.25.0-8.3.pre
[  +25 ms] executing: [/home/greg/n/flutter/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/home/greg/n/flutter/flutter/] git ls-remote --get-url origin
[   +2 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +24 ms] executing: [/home/greg/n/flutter/flutter/] git rev-parse --abbrev-ref HEAD
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +28 ms] 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.
[   +1 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.
[  +38 ms] executing: /home/greg/Android/Sdk/platform-tools/adb devices -l
[  +25 ms] List of devices attached
           98271FFAZ002SB         device usb:1-3.2 product:flame model:Pixel_4 device:flame transport_id:1
[   +6 ms] /home/greg/Android/Sdk/platform-tools/adb -s 98271FFAZ002SB shell getprop
[  +34 ms] 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.
[        ] 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.
[  +51 ms] Skipping pub get: version match.
[  +58 ms] Found plugin integration_test at /home/greg/n/flutter/flutter/packages/integration_test/
[  +88 ms] Found plugin integration_test at /home/greg/n/flutter/flutter/packages/integration_test/
[   +2 ms] Generating /home/greg/n/flutter/bug_selection_dismiss/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +30 ms] ro.hardware = flame
[        ] ro.build.characteristics = nosdcard
[  +24 ms] Initializing file store
[   +6 ms] Skipping target: gen_localizations
[   +2 ms] complete
[   +2 ms] Launching lib/main.dart on Pixel 4 in debug mode...
[   +3 ms] /home/greg/n/flutter/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/greg/n/flutter/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/greg/n/flutter/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names
--experimental-emit-debug-metadata --output-dill /tmp/flutter_tools.CGHVXI/flutter_tool.NEJDKX/app.dill --packages
/home/greg/n/flutter/bug_selection_dismiss/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill
[   +7 ms] executing: /home/greg/Android/Sdk/build-tools/30.0.3/aapt dump xmltree
/home/greg/n/flutter/bug_selection_dismiss/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +3 ms] Exit code 0 from: /home/greg/Android/Sdk/build-tools/30.0.3/aapt dump xmltree
/home/greg/n/flutter/bug_selection_dismiss/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)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.bug_selection_dismiss" (Raw: "com.example.bug_selection_dismiss")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="bug_selection_dismiss" (Raw: "bug_selection_dismiss")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
                 "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.bug_selection_dismiss.MainActivity" (Raw:
                   "com.example.bug_selection_dismiss.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=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
                     "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +4 ms] executing: /home/greg/Android/Sdk/platform-tools/adb -s 98271FFAZ002SB shell -x logcat -v time -t 1
[   +9 ms] <- compile package:bug_selection_dismiss/main.dart
[  +37 ms] --------- beginning of system
           02-01 00:18:08.700 D/ConnectivityService( 1630): NetReassign [no changes]
[   +7 ms] executing: /home/greg/Android/Sdk/platform-tools/adb version
[  +23 ms] Android Debug Bridge version 1.0.41
           Version 30.0.5-6877874
           Installed as /home/greg/Android/Sdk/platform-tools/adb
[   +1 ms] executing: /home/greg/Android/Sdk/platform-tools/adb start-server
[   +5 ms] Building APK
[  +11 ms] Running Gradle task 'assembleDebug'...
[   +2 ms] Using gradle from /home/greg/n/flutter/bug_selection_dismiss/android/gradlew.
[        ] /home/greg/n/flutter/bug_selection_dismiss/android/gradlew mode: 33261 rwxr-xr-x.
[   +4 ms] executing: /opt/android-studio/jre/bin/java -version
[  +65 ms] Exit code 0 from: /opt/android-studio/jre/bin/java -version
[        ] openjdk version "11.0.8" 2020-07-14
           OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
           OpenJDK 64-Bit Server VM (build 11.0.8+0-b944-6842174, mixed mode)
[   +2 ms] executing: [/home/greg/n/flutter/bug_selection_dismiss/android/] /home/greg/n/flutter/bug_selection_dismiss/android/gradlew
-Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=/home/greg/n/flutter/bug_selection_dismiss/lib/main.dart -Ptrack-widget-creation=true
-Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +742 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :integration_test:preBuild UP-TO-DATE
[        ] > Task :integration_test:preDebugBuild UP-TO-DATE
[        ] > Task :integration_test:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :integration_test:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :integration_test:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :app:checkDebugAarMetadata UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :integration_test:mergeDebugShaders UP-TO-DATE
[        ] > Task :integration_test:compileDebugShaders NO-SOURCE
[        ] > Task :integration_test:generateDebugAssets UP-TO-DATE
[        ] > Task :integration_test:packageDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[  +84 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :integration_test:compileDebugRenderscript NO-SOURCE
[        ] > Task :integration_test:generateDebugResValues UP-TO-DATE
[        ] > Task :integration_test:generateDebugResources UP-TO-DATE
[        ] > Task :integration_test:packageDebugResources UP-TO-DATE
[  +99 ms] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :integration_test:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :integration_test:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[        ] > Task :integration_test:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :integration_test:parseDebugLocalResources UP-TO-DATE
[        ] > Task :integration_test:generateDebugRFile UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :integration_test:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :integration_test:javaPreCompileDebug UP-TO-DATE
[        ] > Task :integration_test:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :integration_test:bundleLibCompileToJarDebug UP-TO-DATE
[        ] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:compressDebugAssets UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :integration_test:processDebugJavaRes NO-SOURCE
[        ] > Task :integration_test:bundleLibResDebug NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :integration_test:bundleLibRuntimeToJarDebug UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:dexBuilderDebug UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[   +1 ms] > Task :integration_test:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :integration_test:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :integration_test:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :integration_test:copyDebugJniLibsProjectOnly UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:packageDebug UP-TO-DATE
[  +92 ms] > Task :app:assembleDebug
[        ] > Task :integration_test:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[        ] > Task :integration_test:extractDebugAnnotations UP-TO-DATE
[        ] > Task :integration_test:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :integration_test:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :integration_test:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :integration_test:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :integration_test:syncDebugLibJars UP-TO-DATE
[        ] > Task :integration_test:bundleDebugAar UP-TO-DATE
[        ] > Task :integration_test:compileDebugSources UP-TO-DATE
[        ] > Task :integration_test:assembleDebug UP-TO-DATE
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 962ms
[        ] 57 actionable tasks: 4 executed, 53 up-to-date
[ +328 ms] Running Gradle task 'assembleDebug'... (completed in 1,427ms)
[  +45 ms] calculateSha: LocalDirectory: '/home/greg/n/flutter/bug_selection_dismiss/build/app/outputs/flutter-apk'/app.apk
[  +21 ms] calculateSha: reading file took 20us
[ +565 ms] calculateSha: computing sha took 565us
[   +2 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[   +2 ms] executing: /home/greg/Android/Sdk/build-tools/30.0.3/aapt dump xmltree
/home/greg/n/flutter/bug_selection_dismiss/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +6 ms] Exit code 0 from: /home/greg/Android/Sdk/build-tools/30.0.3/aapt dump xmltree
/home/greg/n/flutter/bug_selection_dismiss/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)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.bug_selection_dismiss" (Raw: "com.example.bug_selection_dismiss")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="bug_selection_dismiss" (Raw: "bug_selection_dismiss")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
                 "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.bug_selection_dismiss.MainActivity" (Raw:
                   "com.example.bug_selection_dismiss.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=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
                     "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +1 ms] Stopping app 'app.apk' on Pixel 4.
[        ] executing: /home/greg/Android/Sdk/platform-tools/adb -s 98271FFAZ002SB shell am force-stop com.example.bug_selection_dismiss
[  +55 ms] executing: /home/greg/Android/Sdk/platform-tools/adb -s 98271FFAZ002SB shell pm list packages com.example.bug_selection_dismiss
[  +38 ms] package:com.example.bug_selection_dismiss
[   +1 ms] executing: /home/greg/Android/Sdk/platform-tools/adb -s 98271FFAZ002SB shell cat
/data/local/tmp/sky.com.example.bug_selection_dismiss.sha1
[  +19 ms] d038728f66df9601991786496dc51e50e1e3ed9f
[        ] Latest build already installed.
[        ] executing: /home/greg/Android/Sdk/platform-tools/adb -s 98271FFAZ002SB shell -x logcat -v time -t 1
[  +32 ms] --------- beginning of main
           02-01 00:18:12.495 I/libprocessgroup( 1630): Successfully killed process cgroup uid 10541 pid 11750 in 71ms
[   +6 ms] executing: /home/greg/Android/Sdk/platform-tools/adb -s 98271FFAZ002SB shell am start -a android.intent.action.RUN -f 0x20000000 --ez
enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true
com.example.bug_selection_dismiss/com.example.bug_selection_dismiss.MainActivity
[  +41 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.bug_selection_dismiss/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +363 ms] Observatory URL on device: http://127.0.0.1:39369/tbK2T1M5T-M=/
[        ] executing: /home/greg/Android/Sdk/platform-tools/adb -s 98271FFAZ002SB forward tcp:0 tcp:39369
[   +5 ms] 39689
[        ] Forwarded host port 39689 to device port 39369 for Observatory
[+1867 ms] Caching compiled dill
[  +21 ms] Connecting to service protocol: http://127.0.0.1:39689/tbK2T1M5T-M=/
[   +1 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at
http://127.0.0.1:39689/tbK2T1M5T-M=/.
[ +563 ms] DDS is listening at http://127.0.0.1:36029/5nChn8iF4GQ=/.
[  +73 ms] Successfully connected to service protocol: http://127.0.0.1:39689/tbK2T1M5T-M=/
[ +109 ms] DevFS: Creating new filesystem on the device (null)
[  +44 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.example.bug_selection_dismiss/code_cache/bug_selection_dismissNCQBFJ/bug_selection_dismiss/)
[   +1 ms] Updating assets
[  +55 ms] Syncing files to device Pixel 4...
[        ] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +1 ms] <- recompile package:bug_selection_dismiss/main.dart e61ad984-9aaf-4a3b-a7c8-6e79a86a7ce9
[        ] <- e61ad984-9aaf-4a3b-a7c8-6e79a86a7ce9
[  +62 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device Pixel 4... (completed in 65ms)
[        ] Synced 0.0MB.
[        ] <- accept
[  +11 ms] Connected to _flutterView/0xb40000720f0a70a0.
[   +4 ms] Flutter run key commands.
[   +2 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Pixel 4 is available at: http://127.0.0.1:36029/5nChn8iF4GQ=/
[        ] Running with unsound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
[+4703 ms] Application finished.
[   +2 ms] executing: /home/greg/Android/Sdk/platform-tools/adb -s 98271FFAZ002SB forward --list
[   +7 ms] Exit code 0 from: /home/greg/Android/Sdk/platform-tools/adb -s 98271FFAZ002SB forward --list
[        ] 98271FFAZ002SB tcp:39631 tcp:37697
           98271FFAZ002SB tcp:39689 tcp:39369
[   +1 ms] executing: /home/greg/Android/Sdk/platform-tools/adb -s 98271FFAZ002SB forward --remove tcp:39631
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
$ flutter analyze
Analyzing bug_selection_dismiss...                                      
No issues found! (ran in 1.0s)
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
$ flutter doctor -v
[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on Linux, locale en_US.UTF-8)
    • Flutter version 1.25.0-8.3.pre at /home/greg/n/flutter/flutter
    • Framework revision 5d36f2e7f5 (2 weeks ago), 2021-01-14 15:57:49 -0800
    • Engine revision 7a8f8ca02c
    • Dart version 2.12.0 (build 2.12.0-133.7.beta)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/greg/Android/Sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for
      more details.

[✓] Android Studio (version 3.5)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)

[✓] VS Code (version 1.52.1)
    • VS Code at /usr/share/code
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Pixel 4 (mobile) • 98271FFAZ002SB • android-arm64 • Android 11 (API 30)

! Doctor found issues in 1 category.
```

</details>