I could be wrong, but I think startActivity()
internally executes in the UI thread. So yes, it should be safe.
If you wanted to be 100% sure, invoke your startActivity()
in your activity's runOnUiThread()
as a Runnable
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…