summaryrefslogtreecommitdiffstats
path: root/tests/RenderScriptTests
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2011-07-20 14:33:10 -0700
committerAlex Sakhartchouk <alexst@google.com>2011-07-20 14:45:54 -0700
commit835b8544cc333ef87e42b1d71cf8ad3cddccdc19 (patch)
tree0e20f91a159209d5ac979bcd41a39a50f244ce45 /tests/RenderScriptTests
parentae5df05f2246515a652f0c935c6deb85a0bdee01 (diff)
downloadframeworks_base-835b8544cc333ef87e42b1d71cf8ad3cddccdc19.zip
frameworks_base-835b8544cc333ef87e42b1d71cf8ad3cddccdc19.tar.gz
frameworks_base-835b8544cc333ef87e42b1d71cf8ad3cddccdc19.tar.bz2
Fixing bitmap invalidation bug.
Change-Id: I47776f2c1a567342f0826850237c15a5d6315f71
Diffstat (limited to 'tests/RenderScriptTests')
-rw-r--r--tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/ImageProcessingActivity.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/ImageProcessingActivity.java b/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/ImageProcessingActivity.java
index e776463..9aa70b0 100644
--- a/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/ImageProcessingActivity.java
+++ b/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/ImageProcessingActivity.java
@@ -87,8 +87,6 @@ public class ImageProcessingActivity extends Activity
mIsProcessing = false;
}
- // This is a hack to work around an invalidation bug
- mBitmapOut.setPixel(0, 0, 0);
mOutPixelsAllocation.copyTo(mBitmapOut);
mDisplayView.invalidate();
}