Android: Provide onActivityResult backward compatibility