T function ( Callable < T > arg0 ) { FutureTask < T > loc0 = new FutureTask < T > ( arg0 ) ; runOnUiThread ( loc0 ) ; try { return loc0 . get ( ) ; } catch ( InterruptedException loc1 ) { throw new RuntimeException ( "srini_string" , loc1 ) ; } }
run the supplied callable on the main thread , the method will block until the callable completes . concode_field_sep Handler sUiThreadHandler concode_field_sep FutureTask<T> runOnUiThread concode_elem_sep FutureTask<T> runOnUiThread concode_elem_sep void runOnUiThread concode_elem_sep void postOnUiThreadDelayed concode_elem_sep void setThreadPriorityAudio concode_elem_sep T runOnUiThreadBlockingNoException concode_elem_sep void assertOnUiThread concode_elem_sep FutureTask<T> postOnUiThread concode_elem_sep void postOnUiThread concode_elem_sep boolean runningOnUiThread