commit | dc2240412d18e6aa088ee395a4ea9976156aa5ec | [log] [tgz] |
---|---|---|
author | Yiwei Zhang <zzyiwei@google.com> | Thu Oct 18 15:34:00 2018 -0700 |
committer | Yiwei Zhang <zzyiwei@google.com> | Thu Oct 18 16:13:26 2018 -0700 |
tree | ac44f4b7ba4f8fa6f187b6f55d0c48f3b0051f33 | |
parent | c284ebf192d86d0c942d39596efc05880c9caf23 [diff] |
SF TimeStats: flush and clear layer timestats on layer tear down This change adds an onDestroy call for TimeStats so that in case of app ANR or other layer destroying cases without producer disconnecting, the stats could be cleared for that layer. Bug: b/79872109 Test: dumpsys SurfaceFlinger --timestats <options> Change-Id: Icd0da73ace646e034e896a4278a2dc735aca1a1a