SF: Remove BufferStateLayer class
This CL removes the BufferStateLayer class and some of the references to
"BufferStateLayer" in factory and utility method names. In order to keep
the diff smaller, I'll send out a separate CL to remove the remaining
references.
Bug: 238781169
Test: refactor, existing tests pass
Change-Id: I62fe00caa87e109435da62329e817c19cfb96ead
diff --git a/services/surfaceflinger/SurfaceFlingerDefaultFactory.cpp b/services/surfaceflinger/SurfaceFlingerDefaultFactory.cpp
index 319d014..3e30dcb 100644
--- a/services/surfaceflinger/SurfaceFlingerDefaultFactory.cpp
+++ b/services/surfaceflinger/SurfaceFlingerDefaultFactory.cpp
@@ -22,7 +22,6 @@
#include <cutils/properties.h>
#include <ui/GraphicBuffer.h>
-#include "BufferStateLayer.h"
#include "DisplayDevice.h"
#include "FrameTracer/FrameTracer.h"
#include "Layer.h"
@@ -89,8 +88,8 @@
return compositionengine::impl::createCompositionEngine();
}
-sp<BufferStateLayer> DefaultFactory::createBufferStateLayer(const LayerCreationArgs& args) {
- return sp<BufferStateLayer>::make(args);
+sp<Layer> DefaultFactory::createBufferStateLayer(const LayerCreationArgs& args) {
+ return sp<Layer>::make(args);
}
sp<Layer> DefaultFactory::createEffectLayer(const LayerCreationArgs& args) {