getBitmap(true) is only called in the background thread. getBitmap(), which is the same as gitBitmap(false), is the one called in many method from UI thread.