Reputation: 1928
In Android app, I'm analyzing an ActivityThread
error raised (I'm using Android Studio). ActivityThread
results to be an huge class... the problem seems to be not documented anywhere! Can you define exactly what is this?
Logcat:
2019-12-19 13:55:43.955 3547-3547/nnnne.domains.dd.android E/ActivityThread: Service nnnne.domains.dd.android.PlatformService has leaked ServiceConnection com.jj.npp.internals.ServiceClient$1@2f8eb30 that was originally bound here
android.app.ServiceConnectionLeaked: Service nnnne.domains.dd.android.PlatformService has leaked ServiceConnection com.jj.npp.internals.ServiceClient$1@2f8eb30 that was originally bound here at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1532)
Upvotes: 4
Views: 5063
Reputation: 95588
You don't need to understand how ActivityThread
is working. That's not relevant here.
The error is clear. The component nnnne.domains.dd.android.PlatformService
leaked a ServiceConnection
. That Service
didn't cleanup its ServiceConnection
when the Service
was destroyed.
Upvotes: 1
Reputation: 82998
Documentation added to the ActivityThread
class itself. No public documentation as it is hidden (part of android framework) class.
/**
* This manages the execution of the main thread in an
* application process, scheduling and executing activities,
* broadcasts, and other operations on it as the activity
* manager requests.
*
* {@hide}
*/
public final class ActivityThread extends ClientTransactionHandler {
..
}
Upvotes: 3