[Android] Re-organize config loading so it's neater.