message: Moved the logic of creating the directory in android environment to another function
diff: @@ -16,13 +16,22 @@ impl EnvironmentUtils {
  path.push(indy_client_dir);
  if cfg!(target_os = "android"){
  - let android_dir = env::var("EXTERNAL_STORAGE").unwrap() + "/.indy_client";
  - fs::create_dir_all(&android_dir).unwrap();
  - path = PathBuf::from(android_dir);
  + EnvironmentUtils::android_create_indy_client_dir();
  + path = EnvironmentUtils::android_indy_client_dir_path();
  }
  path
  }
  + pub fn android_indy_client_dir_path() -> PathBuf{
  + let android_dir = env::var("EXTERNAL_STORAGE").unwrap() + "/.indy_client";
  + PathBuf::from(android_dir)
  + }
  +
  + pub fn android_create_indy_client_dir(){
  + //Creates directory only if it is not present.
  + fs::create_dir_all(EnvironmentUtils::android_indy_client_dir_path().as_path()).unwrap();
  + }
  +
  pub fn wallet_home_path() -> PathBuf {
  let mut path = EnvironmentUtils::indy_home_path();
  path.push("wallet");
  