android apphance configuration rewritten