don't filter when capturing a screenshot unless needed

bug: 6919952
Change-Id: Ia6fbe9bc7e533a64cfdd6ef7f0cd6b9f11feb947
diff --git a/services/surfaceflinger/LayerBase.cpp b/services/surfaceflinger/LayerBase.cpp
index 9d3a505..f1bf984 100644
--- a/services/surfaceflinger/LayerBase.cpp
+++ b/services/surfaceflinger/LayerBase.cpp
@@ -316,11 +316,9 @@
     onDraw(hw, clip);
 }
 
-void LayerBase::drawForScreenShot(const DisplayDevice& hw)
+void LayerBase::draw(const DisplayDevice& hw)
 {
-    setFiltering(true);
     onDraw( hw, Region(hw.bounds()) );
-    setFiltering(false);
 }
 
 void LayerBase::clearWithOpenGL(const DisplayDevice& hw, const Region& clip,