waits for sync to become active . concode_field_sep long TIMEOUT_MS concode_elem_sep String TAG concode_elem_sep int INTERVAL_MS concode_field_sep JSONArray getAllNodesAsJsonArray concode_elem_sep boolean isSyncActive concode_elem_sep boolean isSyncRequested concode_elem_sep long getCurrentSyncTime concode_elem_sep JSONObject extractSpecifics concode_elem_sep void triggerSyncAndWaitForCompletion concode_elem_sep void triggerSync concode_elem_sep void waitForBackendInitialized concode_elem_sep String convertToServerId concode_elem_sep List<Pair<String,JSONObject>> getLocalData
void function ( ) { CriteriaHelper . pollUiThread ( new Criteria ( "srini_string" ) { @ Override public boolean isSatisfied ( ) { return ProfileSyncService . get ( ) . isSyncActive ( ) ; } } , TIMEOUT_MS , INTERVAL_MS ) ; }