Alec Mouri 026106f6d6 [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
2020-03-26 18:09:53 -07:00
..
2020-01-10 16:14:39 +00:00
2020-01-10 16:14:39 +00:00
2019-11-08 15:37:17 +00:00
2018-04-18 16:18:17 -07:00