I tested this code of an Android activity, the log shows that Thread.sleep() actually didn\'t block the mainThread to run the onStart and onResume of the lifecycle.
I