Determine whether the current thread is the main thread or not.
Method Detail
isMainThread
boolean isMainThread()
Determine whether the current thread is the main thread or not.
This method is used by SQLiteDatabase to select database connection flags
when opening a new connection.