commit | 3ca95a0e081f66f0b8b140cb34b688f9b6993fc0 | [log] [tgz] |
---|---|---|
author | Marissa Wall <marissaw@google.com> | Fri Feb 07 09:45:47 2020 -0800 |
committer | Gaurav Sarode <sgaurav@google.com> | Mon Feb 10 21:26:57 2020 +0000 |
tree | 3e0ff8590901f114fd941ece148ad00d0d0e9c86 | |
parent | fe62271bc355a6989a3e093bd39afb7b2e249054 [diff] |
DO NOT MERGE: 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 (cherry picked from commit 6a3e6717cee02a93d8f8f108d38d546bd20b87b1)