diff options
| author | 2018-01-22 17:03:59 +0100 | |
|---|---|---|
| committer | 2018-01-22 20:08:41 +0000 | |
| commit | 388090fbdd1f38dedf49b12dac425a0807215a02 (patch) | |
| tree | 318e4d36fe26156e380232bbcaa28287acaa4443 /libs/hwui/ProgramCache.cpp | |
| parent | 77dad606344a8951552585a3169fccd2ec3ccfd1 (diff) | |
Check for surface validity to avoid native crash
If the surface gets destroyed, return -1 to indicate such that
the client can abort the animation, instead of crashing.
Test: With Launcher in multi-window
Change-Id: I4ab11557c40ed843a4c2e985a53cc2247b18b5fd
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions