summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2012-02-18 06:17:18 +0800
committerChih-Chung Chang <chihchung@google.com>2012-02-22 02:26:45 +0800
commitbe55f1e81c6021cf499c24331088fb01a8db9f91 (patch)
treee8634763af97adfa57428c76e381f4cfc92b1688 /tests
parentb3d01963463a11d27c286ffbf7f715f59bbecf88 (diff)
downloadandroid_packages_apps_Snap-be55f1e81c6021cf499c24331088fb01a8db9f91.tar.gz
android_packages_apps_Snap-be55f1e81c6021cf499c24331088fb01a8db9f91.tar.bz2
android_packages_apps_Snap-be55f1e81c6021cf499c24331088fb01a8db9f91.zip
Reduce memory allocation and make small improvements.
Change-Id: Iac3f302454119de6363cd5cfb158619e739b0536
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/gallery3d/ui/GLCanvasStub.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/gallery3d/ui/GLCanvasStub.java b/tests/src/com/android/gallery3d/ui/GLCanvasStub.java
index 17d520daf..41de108ad 100644
--- a/tests/src/com/android/gallery3d/ui/GLCanvasStub.java
+++ b/tests/src/com/android/gallery3d/ui/GLCanvasStub.java
@@ -39,10 +39,10 @@ public class GLCanvasStub implements GLCanvas {
public boolean clipRect(int left, int top, int right, int bottom) {
throw new UnsupportedOperationException();
}
- public int save() {
+ public void save() {
throw new UnsupportedOperationException();
}
- public int save(int saveFlags) {
+ public void save(int saveFlags) {
throw new UnsupportedOperationException();
}
public void setBlendEnabled(boolean enabled) {}