[Android] Use int instead of enum for reload mode

Use int as the parameter is more straightforward for the reload(),
to make embedder easy to use the api.
Merge pull request #1865 from xingnan/reload-mode-int

[Android] Use int instead of enum for reload mode