Fix NPE in InlineContentView
* The NPE is due to in the InlineContentView we try to reparent the surface view which is no longer attached to the window, this can happen if the InlineContentView is attached to window and then immediately detached from the window, before the surface package is returned from the remote view process. * Release the surface package immediately in this case, so the remote view can be released. Test: atest android.autofillservice.cts.inline Bug: 158139090 Change-Id: I9efdf8ba182a1d66334362edcfb6ba58fcdc222a
Loading
Please register or sign in to comment