Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bce32fd4 authored by Fengjiang Li's avatar Fengjiang Li
Browse files

[Memory Leak] Clear ViewRootImpl#mFallbackEventHandler's view from ViewRootImpl#doDie()

This ensure calling SurfaceControlViewHost#doRelease() will prevent
leaking view via ViewRootImpl by remote process.

Fix: 427483331
Flag: NONE - released code
Test: manual
Change-Id: I6e9fce0286b175825c10be30493813c79078ee11
parent a358d721
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6581,6 +6581,7 @@ public final class ViewRootImpl implements ViewParent,
        mView.assignParent(null);
        mView = null;
        mAttachInfo.mRootView = null;
        mFallbackEventHandler.setView(null);
        destroySurface();