commit | 458641b5e4752e94ac1a7d04a7b1584f385a9a3d | [log] [tgz] |
---|---|---|
author | Xavier Ducrohet <xav@android.com> | Thu Dec 02 12:37:44 2010 -0800 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Dec 02 12:37:44 2010 -0800 |
tree | d0bc6f70bc48a6d18f0ca954a3b4a5dcc2e830b6 | |
parent | 93f5629981d864ed79726054a8324458ee6bfe4d [diff] | |
parent | 1b8733d91325352fc524b937352aea395e2eb0dc [diff] |
Merge "Layoutlib: update with new add/movechild API."
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index 7be58c6..145618e 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp
@@ -231,7 +231,7 @@ hwcl->handle = NULL; return; } - hwcl->handle = const_cast<native_handle_t*>(buffer->handle); + hwcl->handle = buffer->handle; // TODO: set the crop value properly hwcl->sourceCrop.left = 0; hwcl->sourceCrop.top = 0;