summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-05-25 17:51:34 -0700
committerMathias Agopian <mathias@google.com>2010-05-25 17:51:34 -0700
commit631f358d348ea5e7813ca01f86fc9f2a6536add6 (patch)
treec1745c4edb54837854c8697f3421698fcb9315ad /libs/surfaceflinger
parent97e8ff0b4bcfa9cc9205b2881a110a1c498c5deb (diff)
downloadframeworks_native-631f358d348ea5e7813ca01f86fc9f2a6536add6.zip
frameworks_native-631f358d348ea5e7813ca01f86fc9f2a6536add6.tar.gz
frameworks_native-631f358d348ea5e7813ca01f86fc9f2a6536add6.tar.bz2
fix [2712278] The preview buffer left some black borders in left and bottom edges
we were incorrectly flagging push_buffer surfaces as invalid Change-Id: I4dfd4ffbbe8a71f7e23e835db8d71966416c29bb
Diffstat (limited to 'libs/surfaceflinger')
-rw-r--r--libs/surfaceflinger/LayerBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaceflinger/LayerBase.cpp b/libs/surfaceflinger/LayerBase.cpp
index 51673ff..090404e 100644
--- a/libs/surfaceflinger/LayerBase.cpp
+++ b/libs/surfaceflinger/LayerBase.cpp
@@ -500,7 +500,7 @@ void LayerBase::dump(String8& result, char* buffer, size_t SIZE) const
// ---------------------------------------------------------------------------
-int32_t LayerBaseClient::sIdentity = 0;
+int32_t LayerBaseClient::sIdentity = 1;
LayerBaseClient::LayerBaseClient(SurfaceFlinger* flinger, DisplayID display,
const sp<Client>& client, int32_t i)