Update the android native interface after the refactoring.