As a simple test on Android 7.0, the `Thread.getAllStackTraces()` API can not get the stack trace of main thread(which belongs to "main" thread group). But the stack trace of main thread can be got by `Thread.currentThread().getStackTrace()` as below.
Test code:
Set<Thread>...