| commit | 6a3e6717cee02a93d8f8f108d38d546bd20b87b1 | [log] [tgz] |
|---|---|---|
| author | Marissa Wall <marissaw@google.com> | Fri Feb 07 09:45:47 2020 -0800 |
| committer | Marissa Wall <marissaw@google.com> | Fri Feb 07 09:45:47 2020 -0800 |
| tree | 1959554ebde01d599906123d45fc7eb0c18b93a3 | |
| parent | f1cd150e97ff18d23ece9af2f70db8de399e450b [diff] |
SF: fix SurfaceFlinger freeze
When BufferQueueLayer errors in onFrameAvailable and
onFrameReplaced, it infinitely loops. This patch adds
a break when we get into the bad state.
Bug: 147476322
Test: verified by vendor that this fixes their bug
and SurfaceFlinger_test
Change-Id: Ida063470edc7e688d106ec9fbac3c81bc5e00189