Assuming no friction between the surfaces,acceleration of block(1).
`a_(1) = (m_(1) g sin theta )/(m_(1)) = g sin theta `

and acceleration of block (2).
`a_(2) = (m_(2) g sin theta )/(m_(2)) = g sin theta `
Value of `|bar a_(1) - bar a_(2)| = |1g sin theta - g sin theta| = 0`
Here we can there is no tendency of relative sliding . Hence , no friction is present between (1) and (2).