summaryrefslogtreecommitdiffstats
path: root/tests/DumpRenderTree
diff options
context:
space:
mode:
authorGuang Zhu <guangzhu@google.com>2011-01-13 15:34:19 -0800
committerGuang Zhu <guangzhu@google.com>2011-01-13 15:37:43 -0800
commite88255df397d79f061caa3144da3e2b58008068b (patch)
tree12b0f5eb6637ec9c50b80ecd6f1037fbc98c90c3 /tests/DumpRenderTree
parent6458202abe0c9df932f44223d05761673ba6e9fa (diff)
downloadframeworks_base-e88255df397d79f061caa3144da3e2b58008068b.zip
frameworks_base-e88255df397d79f061caa3144da3e2b58008068b.tar.gz
frameworks_base-e88255df397d79f061caa3144da3e2b58008068b.tar.bz2
remove runFinalizationSync calls
according to csharpiro, these calls are unnecessary and may lead to problems. bug: 3350034 Change-Id: I25a80e4e7610901e75622334bf97d6c1bed17cbd
Diffstat (limited to 'tests/DumpRenderTree')
-rw-r--r--tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java b/tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java
index 4982c46..e5a46b9 100644
--- a/tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java
+++ b/tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.java
@@ -93,11 +93,8 @@ public class LoadTestsAutoTest extends ActivityInstrumentationTestCase2<TestShel
final VMRuntime runtime = VMRuntime.getRuntime();
runtime.gcSoftReferences();
- runtime.runFinalizationSync();
runtime.gcSoftReferences();
- runtime.runFinalizationSync();
runtime.gcSoftReferences();
- runtime.runFinalizationSync();
Runtime.getRuntime().runFinalization();
Runtime.getRuntime().gc();
Runtime.getRuntime().gc();