android: fix isCallback behavior