commit | 026106f6d68382988502b093e963bfb3d4153396 | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Thu Mar 26 17:17:09 2020 -0700 |
committer | Alec Mouri <alecmouri@google.com> | Thu Mar 26 18:09:53 2020 -0700 |
tree | a5c6735b6ecae6663faff5b7285fdd0dd760ee21 | |
parent | 40c41402e4817698a914015d2902d4f297643f67 [diff] |
[HWUI] Add null check for CanvasContext If ReliableSurface is forced to acquire a fallback buffer then the Surface may be abandoned. When getting frame timestamps we need to check that the Surface still exists. Bug: 152262035 Test: builds, boots Test: dumpsys gfxinfo Change-Id: Ifdb198ebf74cc9dc681c4ab51c4901176a7f5fc9