diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-07-18 16:52:21 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-07-18 17:03:20 -0700 |
commit | 487c38b842c5244fecd66e1bca5d4b725d572961 (patch) | |
tree | a040033ff1dc1d57bf9115648c8f62e456891952 /core/java/android | |
parent | 9fd12cfb5667c2745df6c6fe5ae7d07a1ff5ab9e (diff) | |
download | frameworks_base-487c38b842c5244fecd66e1bca5d4b725d572961.zip frameworks_base-487c38b842c5244fecd66e1bca5d4b725d572961.tar.gz frameworks_base-487c38b842c5244fecd66e1bca5d4b725d572961.tar.bz2 |
Remove an unnecessary finalizer.
Simply having a finalizer impacts the GC's ability to
reclaim resources in a timely manner.
Change-Id: Ia9e5f6f1dcb50fae8c2819d25d167df751adf451
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/app/Service.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/java/android/app/Service.java b/core/java/android/app/Service.java index c179b35..4c21d04 100644 --- a/core/java/android/app/Service.java +++ b/core/java/android/app/Service.java @@ -662,12 +662,6 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { writer.println("nothing to dump"); } - - @Override - protected void finalize() throws Throwable { - super.finalize(); - //Log.i("Service", "Finalizing Service: " + this); - } // ------------------ Internal API ------------------ |