Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is ActivityThread?

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)
like image 686
Lore Avatar asked Sep 19 '25 11:09

Lore


1 Answers

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 {
..
}
like image 50
Pankaj Kumar Avatar answered Sep 22 '25 10:09

Pankaj Kumar