commit | e5562ecb2efb43397583c1f66f5f15c994a2c0a2 | [log] [tgz] |
---|---|---|
author | Valerie Hau <vhau@google.com> | Tue May 14 12:39:16 2019 -0700 |
committer | Valerie Hau <vhau@google.com> | Tue May 14 12:39:16 2019 -0700 |
tree | 89f6ca0831d3e7f1f6cd10eecfb82bba94dc7d0d | |
parent | 9bc115d9bf68bd89ac531c687b8b59fca79c1eb7 [diff] [blame] |
Fix loop in SF flushTransactionQueues Bug: 132594932 Test: build, boot Change-Id: I2598a6329b6ad70cbee9418a922961b6c9b1f8f8
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index f8745f7..13b9238 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -3556,7 +3556,7 @@ it = mTransactionQueues.erase(it); mTransactionCV.broadcast(); } else { - std::next(it, 1); + it = std::next(it, 1); } } }