Airplane mode is used to test networking failures.

This commit should be used with an apk build system that removes the
WRITE_SETTINGS permission from AndroidManifest in production builds.