diff options
author | 2021-05-10 16:27:51 -0700 | |
---|---|---|
committer | 2021-05-10 23:29:18 +0000 | |
commit | f9cb20ab207fd65c1b833e9dfb670eaa9cdf64a1 (patch) | |
tree | 8b8da6eae5b0938672c4e0a7bef07b2e2afee7df /libs/gui/SurfaceControl.cpp | |
parent | 06784f2b9f5c6c6274b2a2a82b413f3d460e3257 (diff) |
Fix java SurfaceControl BBQ wrapper update path
We were passing in the wrong surface control by mistake which
meant BlastBufferQueue would fight with the parent SurfaceControl.
Test: repro steps in bug
Fixes: 187397208
Change-Id: I71b1fa1d2d537411d4e6a3ec09c1189a1e7199ff
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
-rw-r--r-- | libs/gui/SurfaceControl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/SurfaceControl.cpp b/libs/gui/SurfaceControl.cpp index 37750faa8f..d7c07b9755 100644 --- a/libs/gui/SurfaceControl.cpp +++ b/libs/gui/SurfaceControl.cpp @@ -166,7 +166,7 @@ void SurfaceControl::updateDefaultBufferSize(uint32_t width, uint32_t height) { Mutex::Autolock _l(mLock); mWidth = width; mHeight = height; if (mBbq) { - mBbq->update(this, width, height, mFormat); + mBbq->update(mBbqChild, width, height, mFormat); } } |