Pass onActivityResult to Java extensions