summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author xiaoxin <xiaoxin@xiaomi.com> 2022-09-05 16:21:06 +0800
committer xiao xin <xiaoxin@xiaomi.corp-partner.google.com> 2022-09-05 09:17:17 +0000
commit71e3abfa1eb41211a0afb5ce7bc2ea960526b2c3 (patch)
tree9db98e7f4799cfc700afd2dcfbd76521425d407f /opengl/java
parent10d1ebad5cb07fe8b6925d7fb8ace36001eb5601 (diff)
make sure mSurfaceLock.unlock can be executed in unlockCanvasAndPost
When the program is run to unlockCanvasAndPost method, if mSurface.unlockCanvasAndPost throws an exception, the mSurfaceLock.unlock() will not getting the chance to execute. If an app executes unlockCanvasAndPost in a catch and does not handle the exception, it will remain locked for a long time after the next execution of mSurfacelock.lock. make sure the msurfacelock.unlock is executed after unlockCanvasAndPost bug:245050059 in partnerissuetracker Change-Id: Ib849c840c61ac261cfaab0daefa7ae2afdbfcba3 Signed-off-by: xiaoxin <xiaoxin@xiaomi.corp-partner.google.com>
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions