Memory leaked (activity leak) caused by CookieSyncManager?
<p>I used MAT tool in Eclipse to investigate a memory leak issue and found that, occasionally, a CookieSyncManager thread instance leaks my activity. The path from my activity to GC root is as following:</p>

<pre><code>com.mycompany.myapp.MyActivity
  --&gt; mContext  com.android.internal.policy.impl.PhoneFallbackEventHandler
    --&gt; mFallbackEventHandler  android.view.ViewRoot
      --&gt; target  android.os.Message
        --&gt; &lt;java local&gt; java.lang.Thread CookieSyncManager Thread
</code></pre>

<p>MyActivity called CookieSyncManager.createInstance(this.getApplicationContext()); in onCreate(), but it doesn't use any webview. It only contains some animations. I don't understand why it is leaked by CookieSyncManager. Can someone help?</p>

<p>Thanks.</p>
