diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2012-12-19 11:21:38 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2012-12-19 11:21:38 +0800 |
commit | 0482291f45a8fa1be8bbfe87e3c8a4eb7f43ddef (patch) | |
tree | 83211b4429e43793aa7098a63e5ade5b5f83694d /native | |
parent | 9b64c4906be5314a6c2cde520317b8cb36e7b3e4 (diff) | |
download | frameworks_base-0482291f45a8fa1be8bbfe87e3c8a4eb7f43ddef.zip frameworks_base-0482291f45a8fa1be8bbfe87e3c8a4eb7f43ddef.tar.gz frameworks_base-0482291f45a8fa1be8bbfe87e3c8a4eb7f43ddef.tar.bz2 |
Fix typo
Change-Id: I58f863c4eb1eb4196d001c280027ab59bee51ce4
Diffstat (limited to 'native')
-rw-r--r-- | native/graphics/jni/bitmap.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/native/graphics/jni/bitmap.cpp b/native/graphics/jni/bitmap.cpp index 51a631f..eaa2cbe 100644 --- a/native/graphics/jni/bitmap.cpp +++ b/native/graphics/jni/bitmap.cpp @@ -52,7 +52,7 @@ int AndroidBitmap_getInfo(JNIEnv* env, jobject jbitmap, break; } } - return ANDROID_BITMAP_RESUT_SUCCESS; + return ANDROID_BITMAP_RESULT_SUCCESS; } int AndroidBitmap_lockPixels(JNIEnv* env, jobject jbitmap, void** addrPtr) { @@ -75,7 +75,7 @@ int AndroidBitmap_lockPixels(JNIEnv* env, jobject jbitmap, void** addrPtr) { if (addrPtr) { *addrPtr = addr; } - return ANDROID_BITMAP_RESUT_SUCCESS; + return ANDROID_BITMAP_RESULT_SUCCESS; } int AndroidBitmap_unlockPixels(JNIEnv* env, jobject jbitmap) { @@ -95,6 +95,6 @@ int AndroidBitmap_unlockPixels(JNIEnv* env, jobject jbitmap) { bm->notifyPixelsChanged(); bm->unlockPixels(); - return ANDROID_BITMAP_RESUT_SUCCESS; + return ANDROID_BITMAP_RESULT_SUCCESS; } |