summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-02-15 16:35:09 -0800
committerMathias Agopian <mathias@google.com>2013-02-15 16:35:21 -0800
commitf798a8e8d4f09cb1273964a48d2af1d5635d7d87 (patch)
tree8478ae99cfd0288300c1e286066aff0a65cec672 /core
parentceec31b7dab6a23e443d5dcbcfac4a23b720cfde (diff)
downloadframeworks_base-f798a8e8d4f09cb1273964a48d2af1d5635d7d87.zip
frameworks_base-f798a8e8d4f09cb1273964a48d2af1d5635d7d87.tar.gz
frameworks_base-f798a8e8d4f09cb1273964a48d2af1d5635d7d87.tar.bz2
fix typo introduced in SurfaceTextureClient to Surface renaming
Change-Id: Iaf1ecc9f5b83a029067b278bc15180d68a113587
Diffstat (limited to 'core')
-rw-r--r--core/jni/android_view_Surface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_view_Surface.cpp b/core/jni/android_view_Surface.cpp
index e5a31e5..ab0d38e 100644
--- a/core/jni/android_view_Surface.cpp
+++ b/core/jni/android_view_Surface.cpp
@@ -206,8 +206,8 @@ static jobject nativeLockCanvas(JNIEnv* env, jobject surfaceObj, jint nativeObje
ANativeWindow_Buffer outBuffer;
Rect dirtyBounds(dirtyRegion.getBounds());
status_t err = surface->lock(&outBuffer, &dirtyBounds);
+ dirtyRegion.set(dirtyBounds);
if (err < 0) {
- dirtyRegion.set(dirtyBounds);
const char* const exception = (err == NO_MEMORY) ?
OutOfResourcesException :
"java/lang/IllegalArgumentException";