diff options
author | 2022-08-17 05:13:59 +0000 | |
---|---|---|
committer | 2022-08-17 15:51:13 +0000 | |
commit | 0c2269fa4bb1dff5324955faead0ad36cb15572f (patch) | |
tree | 812d60c763826171b0c3b71231d62ac16216ba8a /cmds/bootanimation/BootAnimation.cpp | |
parent | 63979bd54042cb31952ff4811351cfc0e9bc1d93 (diff) |
SurfaceComposerClient: Remove setSize
This function is a noop with the introduction of BLAST.
Bug: 238781169
Test: presubmit
Change-Id: I84917bed157a93ec9bfd16d168312ce27ff1765e
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
-rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index dae4570456cd..814800bcd9e5 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -615,10 +615,6 @@ void BootAnimation::resizeSurface(int newWidth, int newHeight) { mWidth = limitedSize.width; mHeight = limitedSize.height; - SurfaceComposerClient::Transaction t; - t.setSize(mFlingerSurfaceControl, mWidth, mHeight); - t.apply(); - EGLConfig config = getEglConfig(mDisplay); EGLSurface surface = eglCreateWindowSurface(mDisplay, config, mFlingerSurface.get(), nullptr); if (eglMakeCurrent(mDisplay, surface, surface, mContext) == EGL_FALSE) { |