Disable deprecation for android.
Merge pull request #466 from xpol/master

Disable deprecation for android.