diff options
author | Vishnu Nair <vishnun@google.com> | 2020-06-10 18:14:20 -0700 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2020-06-10 18:14:20 -0700 |
commit | 34486ad942d30a71042a2d29b1c20b4df40635af (patch) | |
tree | 91939e71dec46bfa8e5b9b167bec9e7ba4bdfcd7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6a28d69c240ecfd6a74c680a84229af069d1cc94 (diff) |
Release SurfaceView surface if viewrootimpl surface is not valid
When the window visiblity changes, SurfaceView gets notified to
release its surface. If an app relayout happens before this
notification, the ViewRootImpl surface will be null and the
SurfaceView will not release it surface.
Fixes: 158469622
Test: go/wm-smoke
Test: repro steps from bug
Test: play with SurfaceView apps
Change-Id: Ia4d5948fd229b2c77700c91691b54561d84290bb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions