Repository: flutter
Issue: PlatformView freezes when its dragged with multiple fingers and simultaneously the 'Edge Panel' on Android is tapped
Labels: platform-android,f: scrolling,a: quality,a: platform-views,has reproducible steps,P2,e: samsung,team-android,triaged-android,found in release: 3.22,found in release: 3.23

### Steps to reproduce

**Device** : 
Samsung Galaxy A53 5G (Android 14)

**Flutter**: 
3.22.2

**Precondition**: 
Enable 'Edge Panel' of the Android device

**Steps:**
1. Launch an app with a PlatformView.
2. Drag inside platform view which works fine.
3. Drag inside platform view with multiple fingers (2 - 3) and simultaneously tap on the Edge Panel (on the right edge in video).
4. Drag inside platform view again.


### Expected results

PlatformView show not freeze, scrolling inside it should continue.

### Actual results

PlatformView freezes, does not scroll.

### Code sample

<details open><summary>Code sample</summary>

Sample is same as https://github.com/flutter/flutter/issues/146499:
https://github.com/flutter/flutter/files/14917706/platform_view_test.3.zip

Dart Code:

```dart
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
      final Map<String, dynamic> creationParams = <String, dynamic>{};

    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text("App"),
      ),
      body: AndroidView(
        viewType: "nativeView",
        layoutDirection: TextDirection.ltr,
        creationParams: creationParams,
        creationParamsCodec: const StandardMessageCodec(),
      ),
    );
  }
}
```


Platform Side
```dart
class MyApplication : Application() {
    private lateinit var flutterEngine : FlutterEngine

    override fun onCreate() {
        super.onCreate()

        // Instantiate a FlutterEngine.
        flutterEngine = FlutterEngine(this)

        // Start executing Dart code to pre-warm the FlutterEngine.
        flutterEngine.dartExecutor.executeDartEntrypoint(
            DartExecutor.DartEntrypoint.createDefault()
        )

        // Cache the FlutterEngine to be used by FlutterActivity.
        FlutterEngineCache
            .getInstance()
            .put("my_engine_id", flutterEngine)
    }
}

class RootActivity: Activity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        startActivity(
            FlutterActivity.CachedEngineIntentBuilder(MainActivity::class.java, "my_engine_id")
                .build(this)
        )
        finish()
    }
}

class MainActivity: FlutterActivity() {
    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        super.configureFlutterEngine(flutterEngine)
        flutterEngine
            .platformViewsController
            .registry
            .registerViewFactory("nativeView", NativeViewFactory())
    }
}
```
</details>

### Screenshots or Video

<details open>
<summary>Video demonstration</summary>

Platform View Issue:

https://github.com/flutter/flutter/assets/14113872/3ecca686-29e5-4f1e-8474-6a90a0b17ebf

This also happens with a simple ListView, where the onTap gesture stops working:

https://github.com/flutter/flutter/assets/14113872/273f2935-23aa-4ba5-8182-60048e36fced

</details>


### Logs

<details open><summary>Logs</summary>

```console
D/Activity(  638): onKeyUp(KEYCODE_BACK) isTracking()=true isCanceled()=false hasCallback=false
I/ViewRootImpl@879dfe4[MainActivity](  638): handleWindowFocusChanged: 0 0 call from android.view.ViewRootImpl.-$$Nest$mhandleWindowFocusChanged:0
I/ImeFocusController(  638): onPreWindowFocus: skipped, hasWindowFocus=false mHasImeFocus=true
I/ImeFocusController(  638): onPostWindowFocus: skipped, hasWindowFocus=false mHasImeFocus=true
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
D/InputTransport(  638): Input channel destroyed: 'ClientS', fd=152
I/ViewRootImpl@879dfe4[MainActivity](  638): handleAppVisibility mAppVisible = true visible = false
I/SurfaceView@311e1dd(  638): onWindowVisibilityChanged(8) false io.flutter.embedding.android.FlutterSurfaceView{311e1dd V.E...... ........ 0,0-1080,2265} of ViewRootImpl@879dfe4[MainActivity]
I/SurfaceView(  638): 51503581 Changes: creating=false format=false size=false visible=true alpha=false hint=false visible=true left=false top=false z=false attached=true lifecycleStrategy=false
I/SurfaceView@311e1dd(  638): 51503581 Cur surface: Surface(name=null)/@0x9c7e7f3
I/SurfaceView(  638): 51503581 surfaceDestroyed
I/SurfaceView@311e1dd(  638): surfaceDestroyed callback.size 1 #2 io.flutter.embedding.android.FlutterSurfaceView{311e1dd V.E...... ........ 0,0-1080,2265}
I/SurfaceView@311e1dd(  638): updateSurface: mVisible = false mSurface.isValid() = true
I/SurfaceView@311e1dd(  638): releaseSurfaces: viewRoot = ViewRootImpl@879dfe4[MainActivity]
V/SurfaceView@311e1dd(  638): Layout: x=0 y=0 w=1080 h=2265, frame=Rect(0, 0 - 1080, 2265)
I/ViewRootImpl@879dfe4[MainActivity](  638): destroyHardwareResources: Callers=android.view.ViewRootImpl.performTraversals:3932 android.view.ViewRootImpl.doTraversal:3288 android.view.ViewRootImpl$TraversalRunnable.run:11344 android.view.Choreographer$CallbackRecord.run:1689 android.view.Choreographer$CallbackRecord.run:1698 android.view.Choreographer.doCallbacks:1153 android.view.Choreographer.doFrame:1079 android.view.Choreographer$FrameDisplayEventReceiver.run:1646 android.os.Handler.handleCallback:958 android.os.Handler.dispatchMessage:99
D/SurfaceView(  638): 180659273 windowPositionLost, frameNr = 0
I/ViewRootImpl@879dfe4[MainActivity](  638): Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) relayoutAsync=false req=(1080,2400)8 dur=11 res=0x402 s={false 0x0} ch=true seqId=0
I/SurfaceView@311e1dd(  638): windowStopped(true) false io.flutter.embedding.android.FlutterSurfaceView{311e1dd V.E...... ........ 0,0-1080,2265} of ViewRootImpl@879dfe4[MainActivity]
D/SurfaceView@311e1dd(  638): updateSurface: surface is not valid
I/SurfaceView@311e1dd(  638): releaseSurfaces: viewRoot = ViewRootImpl@879dfe4[MainActivity]
D/SurfaceView@311e1dd(  638): updateSurface: surface is not valid
I/SurfaceView@311e1dd(  638): releaseSurfaces: viewRoot = ViewRootImpl@879dfe4[MainActivity]
D/OpenGLRenderer(  638): CacheManager::trimMemory(40)
I/ViewRootImpl@879dfe4[MainActivity](  638): stopped(true) old = false
D/OpenGLRenderer(  638): RenderThread::destroyRenderingContext()
D/ViewRootImpl@879dfe4[MainActivity](  638): WindowStopped on com.example.platform_view_test/com.example.platform_view_test.MainActivity set to true
D/SurfaceView@311e1dd(  638): updateSurface: surface is not valid
I/SurfaceView@311e1dd(  638): releaseSurfaces: viewRoot = ViewRootImpl@879dfe4[MainActivity]
D/SurfaceView@311e1dd(  638): 51503581 setAlpha: alpha=0.0
D/SurfaceView@311e1dd(  638): updateSurface: surface is not valid
I/SurfaceView@311e1dd(  638): releaseSurfaces: viewRoot = ViewRootImpl@879dfe4[MainActivity]
W/WindowOnBackDispatcher(  638): sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda19@2dd3a62
I/SurfaceView(  638): 51503581 Detaching SV
D/SurfaceView@311e1dd(  638): updateSurface: surface is not valid
I/SurfaceView@311e1dd(  638): releaseSurfaces: viewRoot = ViewRootImpl@879dfe4[MainActivity]
I/SurfaceView@311e1dd(  638): onDetachedFromWindow: tryReleaseSurfaces()
I/SurfaceView@311e1dd(  638): releaseSurfaces: viewRoot = ViewRootImpl@879dfe4[MainActivity]
I/ViewRootImpl@879dfe4[MainActivity](  638): dispatchDetachedFromWindow
D/InputTransport(  638): Input channel destroyed: '75f209c', fd=121
I/DecorView(  638): setWindowBackground: isPopOver=false color=fff0f0f3 d=android.graphics.drawable.ColorDrawable@aea2bac
D/SurfaceView@fc5f92d(  638): 264632621 setAlpha: alpha=0.0
D/SurfaceView@fc5f92d(  638): 264632621 updateSurface: has no frame
I/DecorView(  638): setWindowBackground: isPopOver=false color=ffffffff d=android.graphics.drawable.ColorDrawable@88a20e5
D/NativeCustomFrequencyManager(  638): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
I/InsetsController(  638): onStateChanged: host=com.example.platform_view_test/com.example.platform_view_test.MainActivity, from=android.view.ViewRootImpl.setView:1753, state=InsetsState: {mDisplayFrame=Rect(0, 0 - 1080, 2400), mDisplayCutout=DisplayCutout{insets=Rect(0, 88 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(512, 0 - 568, 88), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2400 physicalDisplayWidth=1080 physicalDisplayHeight=2400 density={2.8125} cutoutSpec={M 0,0 M 0,11.43427858034597 a 9.899054752987353,9.899054752987353 0 1,0 0,19.79810950597471 a 9.899054752987353,9.899054752987353 0 1,0 0,-19.79810950597471 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]}  mRoundedCornerFrame=Rect(0, 0 - 1080, 2400), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(956, 0 - 1080, 88) rotation=0}, mDisplayShape=DisplayShape{ spec=-311912193 displayWidth=1080 displayHeight=2400 physicalPixelDisplaySizeRatio=1.0 rotation=0 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {27 mType=displayCutout mFrame=[0,0][1080,88] mVisible=true mFlags=[]}, InsetsSource: {30980001 mType=navigationBars mFrame=[0,2265][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {30980004 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {30980005 mType=mandatorySystemGestures mFrame=[0,2265][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {30980006 mType=tappableElement mFrame=[0,2265][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {30980024 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {77aa0000 mType=statusBars mFrame=[0,0][1080,88] mVisible=true mFlags=[]}, InsetsSource: {77aa0005 mType=mandatorySystemGestures mFrame=[0,0][1080,122] mVisible=true mFlags=[]}, InsetsSource: {77aa0006 mType=tappableElement mFrame=[0,0][1080,88] mVisible=true mFlags=[]} }
I/ViewRootImpl@ef3f7ba[MainActivity](  638): synced displayState. AttachInfo displayState=2
I/ViewRootImpl@ef3f7ba[MainActivity](  638): setView = com.android.internal.policy.DecorView@940e661 TM=true
D/OpenGLRenderer(  638): HWUI - treat SMPTE_170M as sRGB
I/SurfaceView@fc5f92d(  638): onWindowVisibilityChanged(0) true io.flutter.embedding.android.FlutterSurfaceView{fc5f92d V.E...... ......I. 0,0-0,0} of ViewRootImpl@ef3f7ba[MainActivity]
D/SurfaceView@fc5f92d(  638): 264632621 updateSurface: has no frame
I/InsetsController(  638): onStateChanged: host=com.example.platform_view_test/com.example.platform_view_test.MainActivity, from=android.view.ViewRootImpl.relayoutWindow:10072, state=InsetsState: {mDisplayFrame=Rect(0, 0 - 1080, 2400), mDisplayCutout=DisplayCutout{insets=Rect(0, 88 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(512, 0 - 568, 88), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2400 physicalDisplayWidth=1080 physicalDisplayHeight=2400 density={2.8125} cutoutSpec={M 0,0 M 0,11.43427858034597 a 9.899054752987353,9.899054752987353 0 1,0 0,19.79810950597471 a 9.899054752987353,9.899054752987353 0 1,0 0,-19.79810950597471 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]}  mRoundedCornerFrame=Rect(0, 0 - 1080, 2400), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(956, 0 - 1080, 88) rotation=0}, mDisplayShape=DisplayShape{ spec=-311912193 displayWidth=1080 displayHeight=2400 physicalPixelDisplaySizeRatio=1.0 rotation=0 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {3 mType=ime mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {27 mType=displayCutout mFrame=[0,0][1080,88] mVisible=true mFlags=[]}, InsetsSource: {30980001 mType=navigationBars mFrame=[0,2265][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {30980004 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {30980005 mType=mandatorySystemGestures mFrame=[0,2265][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {30980006 mType=tappableElement mFrame=[0,2265][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {30980024 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {77aa0000 mType=statusBars mFrame=[0,0][1080,88] mVisible=true mFlags=[]}, InsetsSource: {77aa0005 mType=mandatorySystemGestures mFrame=[0,0][1080,122] mVisible=true mFlags=[]}, InsetsSource: {77aa0006 mType=tappableElement mFrame=[0,0][1080,88] mVisible=true mFlags=[]} }
I/BLASTBufferQueue_Java(  638): new BLASTBufferQueue, mName= ViewRootImpl@ef3f7ba[MainActivity] mNativeObject= 0xb400007c98233910 sc.mNativeObject= 0xb400007c78221f50 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3028 android.view.ViewRootImpl.relayoutWindow:10131 android.view.ViewRootImpl.performTraversals:4110 android.view.ViewRootImpl.doTraversal:3288 android.view.ViewRootImpl$TraversalRunnable.run:11344 android.view.Choreographer$CallbackRecord.run:1689 android.view.Choreographer$CallbackRecord.run:1698 android.view.Choreographer.doCallbacks:1153 android.view.Choreographer.doFrame:1079 android.view.Choreographer$FrameDisplayEventReceiver.run:1646
I/BLASTBufferQueue_Java(  638): update, w= 1080 h= 2400 mName = ViewRootImpl@ef3f7ba[MainActivity] mNativeObject= 0xb400007c98233910 sc.mNativeObject= 0xb400007c78221f50 format= -3 caller= android.graphics.BLASTBufferQueue.<init>:89 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3028 android.view.ViewRootImpl.relayoutWindow:10131 android.view.ViewRootImpl.performTraversals:4110 android.view.ViewRootImpl.doTraversal:3288 android.view.ViewRootImpl$TraversalRunnable.run:11344
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) relayoutAsync=false req=(1080,2400)0 dur=11 res=0x403 s={true 0xb400007c882ef690} ch=true seqId=0
I/ViewRootImpl@ef3f7ba[MainActivity](  638): performConfigurationChange setNightDimText nightDimLevel=0
D/ViewRootImpl@ef3f7ba[MainActivity](  638): mThreadedRenderer.initialize() mSurface={isValid=true 0xb400007c882ef690} hwInitialized=true
D/SurfaceView@fc5f92d(  638): 264632621 updateSurface: has no frame
I/SurfaceView@fc5f92d(  638): windowStopped(false) true io.flutter.embedding.android.FlutterSurfaceView{fc5f92d V.E...... ......ID 0,0-1080,2265} of ViewRootImpl@ef3f7ba[MainActivity]
D/SurfaceView@fc5f92d(  638): 264632621 updateSurface: has no frame
D/ViewRootImpl@ef3f7ba[MainActivity](  638): reportNextDraw android.view.ViewRootImpl.performTraversals:4718 android.view.ViewRootImpl.doTraversal:3288 android.view.ViewRootImpl$TraversalRunnable.run:11344 android.view.Choreographer$CallbackRecord.run:1689 android.view.Choreographer$CallbackRecord.run:1698
I/SurfaceView(  638): 264632621 Changes: creating=true format=true size=true visible=true alpha=true hint=false visible=true left=true top=true z=false attached=true lifecycleStrategy=false
I/BLASTBufferQueue_Java(  638): update, w= 1080 h= 2265 mName = null mNativeObject= 0xb400007c9822eaf0 sc.mNativeObject= 0xb400007c78237b50 format= 4 caller= android.view.SurfaceView.createBlastSurfaceControls:1517 android.view.SurfaceView.updateSurface:1193 android.view.SurfaceView.lambda$new$0:258 android.view.SurfaceView.$r8$lambda$cm3nmzErr-srXoT_KjIYQgdhFN0:0 android.view.SurfaceView$$ExternalSyntheticLambda2.onPreDraw:2 android.view.ViewTreeObserver.dispatchOnPreDraw:1204
I/SurfaceView@fc5f92d(  638): 264632621 Cur surface: Surface(name=null)/@0x8734674
I/SurfaceView@fc5f92d(  638): pST: sr = Rect(0, 0 - 1080, 2265) sw = 1080 sh = 2265
D/SurfaceView@fc5f92d(  638): 264632621 performSurfaceTransaction RenderWorker position = [0, 0, 1080, 2265] surfaceSize = 1080x2265
I/SurfaceView@fc5f92d(  638): updateSurface: mVisible = true mSurface.isValid() = true
I/SurfaceView@fc5f92d(  638): updateSurface: mSurfaceCreated = false surfaceChanged = true visibleChanged = true
I/SurfaceView(  638): 264632621 visibleChanged -- surfaceCreated
I/SurfaceView@fc5f92d(  638): surfaceCreated 1 #8 io.flutter.embedding.android.FlutterSurfaceView{fc5f92d V.E...... ......ID 0,0-1080,2265}
I/SurfaceView(  638): 264632621 surfaceChanged -- format=4 w=1080 h=2265
I/SurfaceView@fc5f92d(  638): surfaceChanged (1080,2265) 1 #8 io.flutter.embedding.android.FlutterSurfaceView{fc5f92d V.E...... ......ID 0,0-1080,2265}
I/SurfaceView(  638): 264632621 surfaceRedrawNeeded
I/SurfaceView(  638): 264632621 finishedDrawing
V/SurfaceView@fc5f92d(  638): Layout: x=0 y=0 w=1080 h=2265, frame=Rect(0, 0 - 1080, 2265)
I/InsetsSourceConsumer(  638): applyRequestedVisibilityToControl: visible=true, type=statusBars, host=com.example.platform_view_test/com.example.platform_view_test.MainActivity
I/InsetsSourceConsumer(  638): applyRequestedVisibilityToControl: visible=true, type=navigationBars, host=com.example.platform_view_test/com.example.platform_view_test.MainActivity
I/BLASTBufferQueue(  638): [SurfaceView[com.example.platform_view_test/com.example.platform_view_test.MainActivity]@0#3](f:0,a:0,s:0) onFrameAvailable the first frame is available
D/SurfaceView@fc5f92d(  638): 264632621 setAlpha: alpha=1.0
I/SurfaceView(  638): 264632621 Changes: creating=false format=false size=false visible=false alpha=true hint=false visible=false left=false top=false z=false attached=true lifecycleStrategy=false
I/SurfaceView@fc5f92d(  638): 264632621 Cur surface: Surface(name=null)/@0x8734674
I/SurfaceView@fc5f92d(  638): updateSurface: mVisible = true mSurface.isValid() = true
I/SurfaceView@fc5f92d(  638): updateSurface: mSurfaceCreated = true surfaceChanged = false visibleChanged = false
I/SurfaceView(  638): 264632621 surfaceRedrawNeeded
I/SurfaceView(  638): 264632621 finishedDrawing
V/SurfaceView@fc5f92d(  638): Layout: x=0 y=0 w=1080 h=2265, frame=Rect(0, 0 - 1080, 2265)
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Setup new sync=wmsSync-ViewRootImpl@ef3f7ba[MainActivity]#6
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Creating new active sync group ViewRootImpl@ef3f7ba[MainActivity]#7
I/ViewRootImpl@ef3f7ba[MainActivity](  638): registerCallbacksForSync syncBuffer=false
D/NativeCustomFrequencyManager(  638): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
D/OpenGLRenderer(  638): CFMS:: SetUp Pid : 638    Tid : 689
D/SurfaceView(  638): 264632621 updateSurfacePosition RenderWorker, frameNr = 1, position = [0, 0, 1080, 2265] surfaceSize = 1080x2265
I/SurfaceView@fc5f92d(  638): uSP: rtp = Rect(0, 0 - 1080, 2265) rtsw = 1080 rtsh = 2265
I/SurfaceView@fc5f92d(  638): onSSPAndSRT: pl = 0 pt = 0 sx = 1.0 sy = 1.0
I/SurfaceView@fc5f92d(  638): aOrMT: ViewRootImpl@ef3f7ba[MainActivity] t = android.view.SurfaceControl$Transaction@7e70099 fN = 1 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1666 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:369
I/ViewRootImpl@ef3f7ba[MainActivity](  638): mWNT: t=0xb400007d3825df30 mBlastBufferQueue=0xb400007c98233910 fn= 1 mRenderHdrSdrRatio=1.0 caller= android.view.SurfaceView.applyOrMergeTransaction:1598 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1666
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Received frameDrawingCallback syncResult=0 frameNum=1.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): mWNT: t=0xb400007d3824bbb0 mBlastBufferQueue=0xb400007c98233910 fn= 1 mRenderHdrSdrRatio=1.0 caller= android.view.ViewRootImpl$8.onFrameDraw:13841 android.view.ThreadedRenderer$1.onFrameDraw:792 <bottom of call stack>
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Setting up sync and frameCommitCallback
I/BLASTBufferQueue(  638): [ViewRootImpl@ef3f7ba[MainActivity]#2](f:0,a:0,s:0) onFrameAvailable the first frame is available
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true
D/OpenGLRenderer(  638): CFMS:: SetUp Pid : 638    Tid : 689
I/ViewRootImpl@ef3f7ba[MainActivity](  638): reportDrawFinished seqId=0
I/ViewRootImpl@ef3f7ba[MainActivity](  638): handleWindowFocusChanged: 1 0 call from android.view.ViewRootImpl.-$$Nest$mhandleWindowFocusChanged:0
D/ViewRootImpl@ef3f7ba[MainActivity](  638): mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb400007c882ef690}
D/InputMethodManagerUtils(  638): startInputInner - Id : 0
I/InputMethodManager(  638): startInputInner - IInputMethodManagerGlobalInvoker.startInputOrWindowGainedFocus
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/InsetsSourceConsumer(  638): applyRequestedVisibilityToControl: visible=false, type=ime, host=com.example.platform_view_test/com.example.platform_view_test.MainActivity
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 0
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 1
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 0
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 1
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 0
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 1
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 0
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 1
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): handleWindowFocusChanged: 0 0 call from android.view.ViewRootImpl.-$$Nest$mhandleWindowFocusChanged:0
I/ImeFocusController(  638): onPreWindowFocus: skipped, hasWindowFocus=false mHasImeFocus=true
I/ImeFocusController(  638): onPostWindowFocus: skipped, hasWindowFocus=false mHasImeFocus=true
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
D/InputTransport(  638): Input channel destroyed: 'ClientS', fd=164
I/ViewRootImpl@ef3f7ba[MainActivity](  638): handleAppVisibility mAppVisible = true visible = false
I/SurfaceView@fc5f92d(  638): onWindowVisibilityChanged(8) false io.flutter.embedding.android.FlutterSurfaceView{fc5f92d V.E...... ........ 0,0-1080,2265} of ViewRootImpl@ef3f7ba[MainActivity]
I/SurfaceView(  638): 264632621 Changes: creating=false format=false size=false visible=true alpha=false hint=false visible=true left=false top=false z=false attached=true lifecycleStrategy=false
I/SurfaceView@fc5f92d(  638): 264632621 Cur surface: Surface(name=null)/@0x8734674
I/SurfaceView(  638): 264632621 surfaceDestroyed
I/SurfaceView@fc5f92d(  638): surfaceDestroyed callback.size 1 #2 io.flutter.embedding.android.FlutterSurfaceView{fc5f92d V.E...... ........ 0,0-1080,2265}
I/SurfaceView@fc5f92d(  638): updateSurface: mVisible = false mSurface.isValid() = true
I/SurfaceView@fc5f92d(  638): releaseSurfaces: viewRoot = ViewRootImpl@ef3f7ba[MainActivity]
V/SurfaceView@fc5f92d(  638): Layout: x=0 y=0 w=1080 h=2265, frame=Rect(0, 0 - 1080, 2265)
I/ViewRootImpl@ef3f7ba[MainActivity](  638): destroyHardwareResources: Callers=android.view.ViewRootImpl.performTraversals:3932 android.view.ViewRootImpl.doTraversal:3288 android.view.ViewRootImpl$TraversalRunnable.run:11344 android.view.Choreographer$CallbackRecord.run:1689 android.view.Choreographer$CallbackRecord.run:1698 android.view.Choreographer.doCallbacks:1153 android.view.Choreographer.doFrame:1079 android.view.Choreographer$FrameDisplayEventReceiver.run:1646 android.os.Handler.handleCallback:958 android.os.Handler.dispatchMessage:99
D/SurfaceView(  638): 203584572 windowPositionLost, frameNr = 0
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) relayoutAsync=false req=(1080,2400)8 dur=8 res=0x402 s={false 0x0} ch=true seqId=0
I/SurfaceView@fc5f92d(  638): windowStopped(true) false io.flutter.embedding.android.FlutterSurfaceView{fc5f92d V.E...... ........ 0,0-1080,2265} of ViewRootImpl@ef3f7ba[MainActivity]
D/SurfaceView@fc5f92d(  638): updateSurface: surface is not valid
I/SurfaceView@fc5f92d(  638): releaseSurfaces: viewRoot = ViewRootImpl@ef3f7ba[MainActivity]
D/SurfaceView@fc5f92d(  638): updateSurface: surface is not valid
I/SurfaceView@fc5f92d(  638): releaseSurfaces: viewRoot = ViewRootImpl@ef3f7ba[MainActivity]
D/OpenGLRenderer(  638): CacheManager::trimMemory(20)
I/ViewRootImpl@ef3f7ba[MainActivity](  638): stopped(true) old = false
D/ViewRootImpl@ef3f7ba[MainActivity](  638): WindowStopped on com.example.platform_view_test/com.example.platform_view_test.MainActivity set to true
D/SurfaceView@fc5f92d(  638): updateSurface: surface is not valid
I/SurfaceView@fc5f92d(  638): releaseSurfaces: viewRoot = ViewRootImpl@ef3f7ba[MainActivity]
D/OpenGLRenderer(  638): CacheManager::trimMemory(20)
D/SurfaceView@fc5f92d(  638): updateSurface: surface is not valid
I/SurfaceView@fc5f92d(  638): releaseSurfaces: viewRoot = ViewRootImpl@ef3f7ba[MainActivity]
I/ViewRootImpl@ef3f7ba[MainActivity](  638): handleAppVisibility mAppVisible = false visible = true
I/ViewRootImpl@ef3f7ba[MainActivity](  638): stopped(false) old = true
D/ViewRootImpl@ef3f7ba[MainActivity](  638): WindowStopped on com.example.platform_view_test/com.example.platform_view_test.MainActivity set to false
D/SurfaceView@fc5f92d(  638): updateSurface: surface is not valid
I/SurfaceView@fc5f92d(  638): releaseSurfaces: viewRoot = ViewRootImpl@ef3f7ba[MainActivity]
I/SurfaceView@fc5f92d(  638): onWindowVisibilityChanged(0) false io.flutter.embedding.android.FlutterSurfaceView{fc5f92d V.E...... ......ID 0,0-1080,2265} of ViewRootImpl@ef3f7ba[MainActivity]
D/SurfaceView@fc5f92d(  638): updateSurface: surface is not valid
I/SurfaceView@fc5f92d(  638): releaseSurfaces: viewRoot = ViewRootImpl@ef3f7ba[MainActivity]
I/InsetsSourceConsumer(  638): applyRequestedVisibilityToControl: visible=true, type=statusBars, host=com.example.platform_view_test/com.example.platform_view_test.MainActivity
I/InsetsSourceConsumer(  638): applyRequestedVisibilityToControl: visible=true, type=navigationBars, host=com.example.platform_view_test/com.example.platform_view_test.MainActivity
I/BLASTBufferQueue_Java(  638): new BLASTBufferQueue, mName= ViewRootImpl@ef3f7ba[MainActivity] mNativeObject= 0xb400007c98233910 sc.mNativeObject= 0xb400007c78221f50 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3028 android.view.ViewRootImpl.relayoutWindow:10131 android.view.ViewRootImpl.performTraversals:4110 android.view.ViewRootImpl.doTraversal:3288 android.view.ViewRootImpl$TraversalRunnable.run:11344 android.view.Choreographer$CallbackRecord.run:1689 android.view.Choreographer$CallbackRecord.run:1698 android.view.Choreographer.doCallbacks:1153 android.view.Choreographer.doFrame:1079 android.view.Choreographer$FrameDisplayEventReceiver.run:1646
I/BLASTBufferQueue_Java(  638): update, w= 1080 h= 2400 mName = ViewRootImpl@ef3f7ba[MainActivity] mNativeObject= 0xb400007c98233910 sc.mNativeObject= 0xb400007c78221f50 format= -3 caller= android.graphics.BLASTBufferQueue.<init>:89 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3028 android.view.ViewRootImpl.relayoutWindow:10131 android.view.ViewRootImpl.performTraversals:4110 android.view.ViewRootImpl.doTraversal:3288 android.view.ViewRootImpl$TraversalRunnable.run:11344
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) relayoutAsync=false req=(1080,2400)0 dur=10 res=0x403 s={true 0xb400007c882cf7a0} ch=true seqId=0
D/ViewRootImpl@ef3f7ba[MainActivity](  638): mThreadedRenderer.initialize() mSurface={isValid=true 0xb400007c882cf7a0} hwInitialized=true
I/SurfaceView(  638): 264632621 Changes: creating=false format=false size=false visible=false alpha=false hint=false visible=false left=false top=false z=false attached=true lifecycleStrategy=false
I/SurfaceView@fc5f92d(  638): windowStopped(false) true io.flutter.embedding.android.FlutterSurfaceView{fc5f92d V.E...... ......ID 0,0-1080,2265} of ViewRootImpl@ef3f7ba[MainActivity]
I/SurfaceView(  638): 264632621 Changes: creating=true format=false size=false visible=true alpha=false hint=false visible=true left=false top=false z=false attached=true lifecycleStrategy=false
I/BLASTBufferQueue_Java(  638): update, w= 1080 h= 2265 mName = null mNativeObject= 0xb400007c98235b70 sc.mNativeObject= 0xb400007c7821d390 format= 4 caller= android.view.SurfaceView.createBlastSurfaceControls:1517 android.view.SurfaceView.updateSurface:1193 android.view.SurfaceView.setWindowStopped:403 android.view.SurfaceView.surfaceCreated:1994 android.view.ViewRootImpl.notifySurfaceCreated:2945 android.view.ViewRootImpl.performTraversals:4580
I/SurfaceView@fc5f92d(  638): 264632621 Cur surface: Surface(name=null)/@0x8734674
I/SurfaceView@fc5f92d(  638): pST: sr = Rect(0, 0 - 1080, 2265) sw = 1080 sh = 2265
D/SurfaceView@fc5f92d(  638): 264632621 performSurfaceTransaction RenderWorker position = [0, 0, 1080, 2265] surfaceSize = 1080x2265
I/SurfaceView@fc5f92d(  638): updateSurface: mVisible = true mSurface.isValid() = true
I/SurfaceView@fc5f92d(  638): updateSurface: mSurfaceCreated = false surfaceChanged = true visibleChanged = true
I/SurfaceView(  638): 264632621 visibleChanged -- surfaceCreated
I/SurfaceView@fc5f92d(  638): surfaceCreated 1 #1 io.flutter.embedding.android.FlutterSurfaceView{fc5f92d V.E...... ......ID 0,0-1080,2265}
I/SurfaceView(  638): 264632621 surfaceChanged -- format=4 w=1080 h=2265
I/SurfaceView@fc5f92d(  638): surfaceChanged (1080,2265) 1 #1 io.flutter.embedding.android.FlutterSurfaceView{fc5f92d V.E...... ......ID 0,0-1080,2265}
I/SurfaceView(  638): 264632621 surfaceRedrawNeeded
I/SurfaceView(  638): 264632621 finishedDrawing
V/SurfaceView@fc5f92d(  638): Layout: x=0 y=0 w=1080 h=2265, frame=Rect(0, 0 - 1080, 2265)
D/ViewRootImpl@ef3f7ba[MainActivity](  638): reportNextDraw android.view.ViewRootImpl.performTraversals:4718 android.view.ViewRootImpl.doTraversal:3288 android.view.ViewRootImpl$TraversalRunnable.run:11344 android.view.Choreographer$CallbackRecord.run:1689 android.view.Choreographer$CallbackRecord.run:1698
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Setup new sync=wmsSync-ViewRootImpl@ef3f7ba[MainActivity]#9
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Creating new active sync group ViewRootImpl@ef3f7ba[MainActivity]#10
I/ViewRootImpl@ef3f7ba[MainActivity](  638): registerCallbacksForSync syncBuffer=false
D/NativeCustomFrequencyManager(  638): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
I/BLASTBufferQueue(  638): [SurfaceView[com.example.platform_view_test/com.example.platform_view_test.MainActivity]@0#5](f:0,a:0,s:0) onFrameAvailable the first frame is available
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
D/OpenGLRenderer(  638): CFMS:: SetUp Pid : 638    Tid : 689
D/SurfaceView(  638): 264632621 updateSurfacePosition RenderWorker, frameNr = 1, position = [0, 0, 1080, 2265] surfaceSize = 1080x2265
I/SurfaceView@fc5f92d(  638): uSP: rtp = Rect(0, 0 - 1080, 2265) rtsw = 1080 rtsh = 2265
I/SurfaceView@fc5f92d(  638): onSSPAndSRT: pl = 0 pt = 0 sx = 1.0 sy = 1.0
I/SurfaceView@fc5f92d(  638): aOrMT: ViewRootImpl@ef3f7ba[MainActivity] t = android.view.SurfaceControl$Transaction@4d2941 fN = 1 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1666 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:369
I/ViewRootImpl@ef3f7ba[MainActivity](  638): mWNT: t=0xb400007d38262810 mBlastBufferQueue=0xb400007c98233910 fn= 1 mRenderHdrSdrRatio=1.0 caller= android.view.SurfaceView.applyOrMergeTransaction:1598 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1666
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Received frameDrawingCallback syncResult=0 frameNum=1.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): mWNT: t=0xb400007d3825e090 mBlastBufferQueue=0xb400007c98233910 fn= 1 mRenderHdrSdrRatio=1.0 caller= android.view.ViewRootImpl$8.onFrameDraw:13841 android.view.ThreadedRenderer$1.onFrameDraw:792 <bottom of call stack>
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Setting up sync and frameCommitCallback
I/BLASTBufferQueue(  638): [ViewRootImpl@ef3f7ba[MainActivity]#4](f:0,a:0,s:0) onFrameAvailable the first frame is available
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true
I/ViewRootImpl@ef3f7ba[MainActivity](  638): reportDrawFinished seqId=0
I/ViewRootImpl@ef3f7ba[MainActivity](  638): handleWindowFocusChanged: 1 0 call from android.view.ViewRootImpl.-$$Nest$mhandleWindowFocusChanged:0
D/ViewRootImpl@ef3f7ba[MainActivity](  638): mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb400007c882cf7a0}
D/InputMethodManagerUtils(  638): startInputInner - Id : 0
I/InputMethodManager(  638): startInputInner - IInputMethodManagerGlobalInvoker.startInputOrWindowGainedFocus
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Resizing android.view.ViewRootImpl@882187d: frame = [0,0][1080,2400] reportDraw = false forceLayout = false syncSeqId = -1
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/InsetsSourceConsumer(  638): applyRequestedVisibilityToControl: visible=false, type=ime, host=com.example.platform_view_test/com.example.platform_view_test.MainActivity
I/ViewRootImpl@ef3f7ba[MainActivity](  638): handleResized, msg = 4 frames=ClientWindowFrames{frame=[0,0][1080,2400] display=[0,0][1080,2400] parentFrame=[0,0][0,0]} forceNextWindowRelayout=false displayId=0 dragResizing=false compatScale=1.0 frameChanged=false attachedFrameChanged=false configChanged=false displayChanged=false compatScaleChanged=false
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 0
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 1
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 0
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 1
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 0
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 1
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 0
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 1
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 0
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 1
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 0
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): ViewPostIme pointer 1
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): onDisplayChanged oldDisplayState=2 newDisplayState=2
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Resizing android.view.ViewRootImpl@882187d: frame = [88,0][2400,1080] reportDraw = true forceLayout = false syncSeqId = -1
V/ViewRootImpl@ef3f7ba[MainActivity](  638): updateAppliedLetterboxDirection, direction=1, Caller=android.view.ViewRootImpl.handleDispatchLetterboxDirectionChanged:14139
I/InsetsController(  638): onStateChanged: host=com.example.platform_view_test/com.example.platform_view_test.MainActivity, from=android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:7209, state=InsetsState: {mDisplayFrame=Rect(0, 0 - 2400, 1080), mDisplayCutout=DisplayCutout{insets=Rect(88, 0 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 512 - 88, 568), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2400 physicalDisplayWidth=1080 physicalDisplayHeight=2400 density={2.8125} cutoutSpec={M 0,0 M 0,11.43427858034597 a 9.899054752987353,9.899054752987353 0 1,0 0,19.79810950597471 a 9.899054752987353,9.899054752987353 0 1,0 0,-19.79810950597471 Z @dp} rotation={1} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]}  mRoundedCornerFrame=Rect(0, 0 - 2400, 1080), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(2276, 0 - 2400, 68) rotation=1}, mDisplayShape=DisplayShape{ spec=-311912193 displayWidth=1080 displayHeight=2400 physicalPixelDisplaySizeRatio=1.0 rotation=1 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {3 mType=ime mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {7 mType=displayCutout mFrame=[0,0][88,1080] mVisible=true mFlags=[]}, InsetsSource: {30980001 mType=navigationBars mFrame=[2265,0][2400,1080] mVisible=true mFlags=[]}, InsetsSource: {30980004 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {30980005 mType=mandatorySystemGestures mFrame=[2265,0][2400,1080] mVisible=true mFlags=[]}, InsetsSource: {30980006 mType=tappableElement mFrame=[2265,0][2400,1080] mVisible=true mFlags=[]}, InsetsSource: {30980024 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {77aa0000 mType=statusBars mFrame=[0,0][2400,68] mVisible=true mFlags=[]}, InsetsSource: {77aa0005 mType=mandatorySystemGestures mFrame=[0,0][2400,68] mVisible=true mFlags=[]}, InsetsSource: {77aa0006 mType=tappableElement mFrame=[0,0][2400,68] mVisible=true mFlags=[]} }
I/InsetsSourceConsumer(  638): applyRequestedVisibilityToControl: visible=true, type=statusBars, host=com.example.platform_view_test/com.example.platform_view_test.MainActivity
I/InsetsSourceConsumer(  638): applyRequestedVisibilityToControl: visible=true, type=navigationBars, host=com.example.platform_view_test/com.example.platform_view_test.MainActivity
I/ViewRootImpl@ef3f7ba[MainActivity](  638): handleResized, msg = 5 frames=ClientWindowFrames{frame=[88,0][2400,1080] display=[88,0][2400,1080] parentFrame=[0,0][0,0]} forceNextWindowRelayout=false displayId=0 dragResizing=false compatScale=1.0 frameChanged=true attachedFrameChanged=false configChanged=true displayChanged=false compatScaleChanged=false
I/ViewRootImpl@ef3f7ba[MainActivity](  638): handleResized mSyncSeqId = 0
D/ViewRootImpl@ef3f7ba[MainActivity](  638): reportNextDraw android.view.ViewRootImpl.handleResized:2530 android.view.ViewRootImpl.-$$Nest$mhandleResized:0 android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:7197 android.view.ViewRootImpl$ViewRootHandler.handleMessage:7166 android.os.Handler.dispatchMessage:106
I/BLASTBufferQueue_Java(  638): update, w= 2312 h= 1080 mName = ViewRootImpl@ef3f7ba[MainActivity] mNativeObject= 0xb400007c98233910 sc.mNativeObject= 0xb400007c78237b50 format= -3 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3017 android.view.ViewRootImpl.relayoutWindow:10131 android.view.ViewRootImpl.performTraversals:4110 android.view.ViewRootImpl.doTraversal:3288 android.view.ViewRootImpl$TraversalRunnable.run:11344 android.view.Choreographer$CallbackRecord.run:1689
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Relayout returned: old=(88,0,2400,1080) new=(88,0,2400,1080) relayoutAsync=false req=(2312,1080)0 dur=6 res=0x401 s={true 0xb400007c882cf7a0} ch=false seqId=0
D/ViewRootImpl@ef3f7ba[MainActivity](  638): mThreadedRenderer.updateSurface() mSurface={isValid=true 0xb400007c882cf7a0}
I/ViewRootImpl@ef3f7ba[MainActivity](  638): updateBoundsLayer: t=android.view.SurfaceControl$Transaction@a2f1aed sc=Surface(name=Bounds for - com.example.platform_view_test/com.example.platform_view_test.MainActivity@1)/@0x90dd22 frame=15
I/SurfaceView(  638): 264632621 Changes: creating=false format=false size=true visible=false alpha=false hint=true visible=false left=false top=false z=false attached=true lifecycleStrategy=false
I/SurfaceView@fc5f92d(  638): 264632621 Cur surface: Surface(name=null)/@0x8734674
I/BLASTBufferQueue_Java(  638): update, w= 2177 h= 1080 mName = null mNativeObject= 0xb400007c98235b70 sc.mNativeObject= 0xb400007c7821d390 format= 4 caller= android.view.SurfaceView.setBufferSize:1438 android.view.SurfaceView.performSurfaceTransaction:994 android.view.SurfaceView.updateSurface:1210 android.view.SurfaceView.setFrame:559 android.view.View.layout:25765 android.widget.FrameLayout.layoutChildren:332
I/SurfaceView@fc5f92d(  638): pST: sr = Rect(0, 0 - 2177, 1080) sw = 2177 sh = 1080
D/SurfaceView@fc5f92d(  638): 264632621 performSurfaceTransaction RenderWorker position = [0, 0, 2177, 1080] surfaceSize = 2177x1080
I/SurfaceView@fc5f92d(  638): updateSurface: mVisible = true mSurface.isValid() = true
I/SurfaceView@fc5f92d(  638): updateSurface: mSurfaceCreated = true surfaceChanged = false visibleChanged = false
I/SurfaceView(  638): 264632621 surfaceChanged -- format=4 w=2177 h=1080
I/SurfaceView@fc5f92d(  638): surfaceChanged (2177,1080) 1 #5 io.flutter.embedding.android.FlutterSurfaceView{fc5f92d V.E...... ......ID 0,0-2177,1080}
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Resizing android.view.ViewRootImpl@882187d: frame = [88,0][2400,1080] reportDraw = true forceLayout = false syncSeqId = -1
I/SurfaceView(  638): 264632621 surfaceRedrawNeeded
I/SurfaceView(  638): 264632621 finishedDrawing
V/SurfaceView@fc5f92d(  638): Layout: x=0 y=0 w=2177 h=1080, frame=Rect(0, 0 - 2177, 1080)
D/ViewRootImpl@ef3f7ba[MainActivity](  638): reportNextDraw android.view.ViewRootImpl.performTraversals:4718 android.view.ViewRootImpl.doTraversal:3288 android.view.ViewRootImpl$TraversalRunnable.run:11344 android.view.Choreographer$CallbackRecord.run:1689 android.view.Choreographer$CallbackRecord.run:1698
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Setup new sync=wmsSync-ViewRootImpl@ef3f7ba[MainActivity]#12
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Creating new active sync group ViewRootImpl@ef3f7ba[MainActivity]#13
I/ViewRootImpl@ef3f7ba[MainActivity](  638): registerCallbacksForSync syncBuffer=false
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
D/SurfaceView(  638): 264632621 updateSurfacePosition RenderWorker, frameNr = 15, position = [0, 0, 2177, 1080] surfaceSize = 2177x1080
I/SurfaceView@fc5f92d(  638): uSP: rtp = Rect(0, 0 - 2177, 1080) rtsw = 2177 rtsh = 1080
I/SurfaceView@fc5f92d(  638): onSSPAndSRT: pl = 0 pt = 0 sx = 1.0 sy = 1.0
I/SurfaceView@fc5f92d(  638): aOrMT: ViewRootImpl@ef3f7ba[MainActivity] t = android.view.SurfaceControl$Transaction@6c2d80f fN = 15 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1666 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:369
I/ViewRootImpl@ef3f7ba[MainActivity](  638): mWNT: t=0xb400007d382224f0 mBlastBufferQueue=0xb400007c98233910 fn= 15 mRenderHdrSdrRatio=1.0 caller= android.view.SurfaceView.applyOrMergeTransaction:1598 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1666
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Received frameDrawingCallback syncResult=0 frameNum=15.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): mWNT: t=0xb400007d38254270 mBlastBufferQueue=0xb400007c98233910 fn= 15 mRenderHdrSdrRatio=1.0 caller= android.view.ViewRootImpl$8.onFrameDraw:13841 android.view.ThreadedRenderer$1.onFrameDraw:792 <bottom of call stack>
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Setting up sync and frameCommitCallback
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Received frameCommittedCallback lastAttemptedDrawFrameNum=15 didProduceBuffer=true
I/ViewRootImpl@ef3f7ba[MainActivity](  638): reportDrawFinished seqId=0
I/InsetsController(  638): onStateChanged: host=com.example.platform_view_test/com.example.platform_view_test.MainActivity, from=android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:7196, state=InsetsState: {mDisplayFrame=Rect(0, 0 - 2400, 1080), mDisplayCutout=DisplayCutout{insets=Rect(88, 0 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 512 - 88, 568), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2400 physicalDisplayWidth=1080 physicalDisplayHeight=2400 density={2.8125} cutoutSpec={M 0,0 M 0,11.43427858034597 a 9.899054752987353,9.899054752987353 0 1,0 0,19.79810950597471 a 9.899054752987353,9.899054752987353 0 1,0 0,-19.79810950597471 Z @dp} rotation={1} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]}  mRoundedCornerFrame=Rect(0, 0 - 2400, 1080), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(2276, 0 - 2400, 68) rotation=1}, mDisplayShape=DisplayShape{ spec=-311912193 displayWidth=1080 displayHeight=2400 physicalPixelDisplaySizeRatio=1.0 rotation=1 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {3 mType=ime mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {7 mType=displayCutout mFrame=[0,0][88,1080] mVisible=true mFlags=[]}, InsetsSource: {30980001 mType=navigationBars mFrame=[2265,0][2400,1080] mVisible=true mFlags=[]}, InsetsSource: {30980004 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {30980005 mType=mandatorySystemGestures mFrame=[2265,0][2400,1080] mVisible=true mFlags=[]}, InsetsSource: {30980006 mType=tappableElement mFrame=[2265,0][2400,1080] mVisible=true mFlags=[]}, InsetsSource: {30980024 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {77aa0000 mType=statusBars mFrame=[0,0][2400,68] mVisible=true mFlags=[]}, InsetsSource: {77aa0005 mType=mandatorySystemGestures mFrame=[0,0][2400,68] mVisible=true mFlags=[]}, InsetsSource: {77aa0006 mType=tappableElement mFrame=[0,0][2400,68] mVisible=true mFlags=[]} }
I/ViewRootImpl@ef3f7ba[MainActivity](  638): handleResized, msg = 5 frames=ClientWindowFrames{frame=[88,0][2400,1080] display=[88,0][2400,1080] parentFrame=[0,0][0,0]} forceNextWindowRelayout=false displayId=0 dragResizing=false compatScale=1.0 frameChanged=false attachedFrameChanged=false configChanged=false displayChanged=false compatScaleChanged=false
I/ViewRootImpl@ef3f7ba[MainActivity](  638): handleResized mSyncSeqId = 0
D/ViewRootImpl@ef3f7ba[MainActivity](  638): reportNextDraw android.view.ViewRootImpl.handleResized:2530 android.view.ViewRootImpl.-$$Nest$mhandleResized:0 android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:7197 android.view.ViewRootImpl$ViewRootHandler.handleMessage:7166 android.os.Handler.dispatchMessage:106
D/ScrollView(  638):  onsize change changed
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Setup new sync=wmsSync-ViewRootImpl@ef3f7ba[MainActivity]#14
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Creating new active sync group ViewRootImpl@ef3f7ba[MainActivity]#15
I/ViewRootImpl@ef3f7ba[MainActivity](  638): registerCallbacksForSync syncBuffer=false
D/NativeCustomFrequencyManager(  638): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
D/OpenGLRenderer(  638): CFMS:: SetUp Pid : 638    Tid : 689
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Received frameDrawingCallback syncResult=0 frameNum=16.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): mWNT: t=0xb400007d38247170 mBlastBufferQueue=0xb400007c98233910 fn= 16 mRenderHdrSdrRatio=1.0 caller= android.view.ViewRootImpl$8.onFrameDraw:13841 android.view.ThreadedRenderer$1.onFrameDraw:792 <bottom of call stack>
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Setting up sync and frameCommitCallback
I/ViewRootImpl@ef3f7ba[MainActivity](  638): Received frameCommittedCallback lastAttemptedDrawFrameNum=16 didProduceBuffer=true
I/ViewRootImpl@ef3f7ba[MainActivity](  638): reportDrawFinished seqId=0
I/InsetsSourceConsumer(  638): applyRequestedVisibilityToControl: visible=true, type=navigationBars, host=com.example.platform_view_test/com.example.platform_view_test.MainActivity
D/ScrollView(  638):  onsize change changed
D/NativeCustomFrequencyManager(  638): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
D/OpenGLRenderer(  638): CFMS:: SetUp Pid : 638    Tid : 689
I/ViewRootImpl@ef3f7ba[MainActivity](  638): mWNT: t=0xb400007d38263e10 mBlastBufferQueue=0xb400007c98233910 fn= 17 mRenderHdrSdrRatio=1.0 caller= android.view.SyncRtSurfaceTransactionApplier.applyTransaction:96 android.view.SyncRtSurfaceTransactionApplier.lambda$scheduleApply$0:69 android.view.SyncRtSurfaceTransactionApplier.$r8$lambda$SgowXC58rj3PR958kHUfRgLZmvE:0
E/FrameEvents(  638): updateAcquireFence: Did not find frame.
I/ViewRootImpl@ef3f7ba[MainActivity](  638): onDisplayChanged oldDisplayState=2 newDisplayState=2
Lost connection to device.

Exited.

```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale en-IN)
    • Flutter version 3.22.2 on channel stable at /Users/rpant/Flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (3 weeks ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/rpant/Library/Android/sdk
    • Platform android-34, build-tools 33.0.2
    • ANDROID_HOME = /Users/rpant/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.90.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (5 available)            
    • SM A536E (mobile)               • RZCTC0B6D9L                          • android-arm64  • Android 14 (API 34)
    • iPhone 15 (mobile)              • A6D8AA82-FA26-4779-92E4-3DD74CA70927 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-2
      (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript • Google Chrome 126.0.6478.114

[✓] Network resources
    • All expected network resources are available.

• No issues found!
```

</details>