Repository: flutter
Issue: [Android]: App gets stuck upon performing hot reload
Labels: platform-android,tool,t: hot reload,has reproducible steps,P2,found in release: 2.2,team-android,triaged-android

## Logs

<details>
<summary>Logs</summary>


<!-- If possible, paste the output of running `flutter doctor -v` here. -->

```
[√] Flutter (Channel master, 2.2.0-11.0.pre.161, on Microsoft Windows [Version 10.0.19042.928], locale en-US)
    • Flutter version 2.2.0-11.0.pre.161 at D:\Program Files\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ce18d702e9 (3 hours ago), 2021-04-19 01:44:02 -0400
    • Engine revision 60f12daf85
    • Dart version 2.14.0 (build 2.14.0-8.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at D:\sidjh\AppData\AndroidSDK
    • Platform android-30, build-tools 29.0.2
    • ANDROID_HOME = D:\sidjh\AppData\AndroidSDK
    • Java binary at: D:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.0)
    • Android Studio at D:\Program Files\Android\Android Studio
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] IntelliJ IDEA Community Edition (version 2019.2)
    • IntelliJ at D:\Program Files\IntelliJ IDEA Community Edition 2019.2.2
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 192.8052

[√] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 90.0.4430.72
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge 89.0.774.77

• No issues found!
```

<!-- Output of Dart:Capture Logs -->
**Dart: Capture Logs**
```
[2:28:35 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.ImageSizesForFrame","isolate":{"type":"@Isolate","id":"isolates/1935007456741807","name":"main","number":"1935007456741807","isSystemIsolate":false},"timestamp":1618822715037,"extensionData":{"<Unknown Image(200×200)>":{"source":"<Unknown Image(200×200)>","displaySize":{"width":114.2857142857143,"height":114.28571428571428},"imageSize":{"width":200.0,"height":200.0},"displaySizeInBytes":69659,"decodedSizeInBytes":213333}}}}}
[2:28:35 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.ImageSizesForFrame","isolate":{"type":"@Isolate","id":"isolates/1935007456741807","name":"main","number":"1935007456741807","isSystemIsolate":false},"timestamp":1618822715149,"extensionData":{"<Unknown Image(480×480)>":{"source":"<Unknown Image(480×480)>","displaySize":{"width":40.00000000000003,"height":40.0},"imageSize":{"width":480.0,"height":480.0},"displaySizeInBytes":8533,"decodedSizeInBytes":1228800}}}}}
[2:28:35 PM] [FlutterRun] [Info] [Flutter] <== [+1288 ms] This is taking a long time; will now check for paused isolates.
[2:28:35 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.ImageSizesForFrame","isolate":{"type":"@Isolate","id":"isolates/1935007456741807","name":"main","number":"1935007456741807","isSystemIsolate":false},"timestamp":1618822715189,"extensionData":{"<Unknown Image(200×200)>":{"source":"<Unknown Image(200×200)>","displaySize":{"width":114.2857142857143,"height":114.28571428571428},"imageSize":{"width":200.0,"height":200.0},"displaySizeInBytes":69659,"decodedSizeInBytes":213333}}}}}
[2:28:35 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/1935007456741807","name":"main","number":"1935007456741807","isSystemIsolate":false},"timestamp":1618822715225,"extensionData":{"number":848,"startTime":224952923,"elapsed":179053,"build":69929,"raster":74141,"vsyncOverhead":33671}}}}
[2:28:35 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/1935007456741807","name":"main","number":"1935007456741807","isSystemIsolate":false},"timestamp":1618822715225,"extensionData":{"number":849,"startTime":225116156,"elapsed":27018,"build":6838,"raster":10216,"vsyncOverhead":9425}}}}
[2:28:35 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates/1935007456741807","name":"main","number":"1935007456741807","isSystemIsolate":false},"timestamp":1618822715225,"extensionData":{"number":850,"startTime":225165004,"elapsed":30373,"build":7891,"raster":18654,"vsyncOverhead":2979}}}}
[2:28:35 PM] [FlutterRun] [Info] [Flutter] <== [  +84 ms] Found 0 newly paused isolate(s).
[2:28:35 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.ImageSizesForFrame","isolate":{"type":"@Isolate","id":"isolates/1935007456741807","name":"main","number":"1935007456741807","isSystemIsolate":false},"timestamp":1618822715264,"extensionData":{"<Unknown Image(480×480)>":{"source":"<Unknown Image(480×480)>","displaySize":{"width":40.00000000000003,"height":40.0},"imageSize":{"width":480.0,"height":480.0},"displaySizeInBytes":8533,"decodedSizeInBytes":1228800}}}}}
```

</details>