question: @ Thunk boolean waitUntilResume ( Runnable run , boolean deletePreviousRunnables ) { if ( mPaused ) { if ( LOGD ) Log . d ( TAG , "Deferring update until onResume" ) ; if ( deletePreviousRunnables ) { while ( mBindOnResumeCallbacks . remove ( run ) ) { } } mBindOnResumeCallbacks . add ( run ) ; return true ; } else { return false ; } }
target:  If the activity is currently paused, signal that we need to run the passed Runnable in onResume. This needs to be called from incoming places where resources might have been loaded while the activity is paused. That is because the Configuration (e.g., rotation)  might be wrong when we're not running, and if the activity comes back to what the configuration was when we were paused, activity is not restarted. Implementation of the method from LauncherModel.Callbacks.