message: Fix Env tool in libnullpay tests to be consistent on Android with libindy.
diff: @@ -12,10 +12,31 @@ pub fn tmp_path() -> PathBuf {
  pub fn indy_home_path() -> PathBuf {
  // TODO: FIXME: Provide better handling for the unknown home path case!!!
  let mut path = dirs::home_dir().unwrap_or(PathBuf::from("/home/indy"));
  - path.push(if cfg!(target_os = "ios") { "Documents/.indy_client" } else { ".indy_client" });
  + let mut indy_client_dir = ".indy_client";
  + if cfg!(target_os = "ios") {
  + indy_client_dir = "Documents/.indy_client";
  + }
  + path.push(indy_client_dir);
  +
  + if cfg!(target_os = "android") {
  + path = android_indy_client_dir_path();
  + }
  path
  }
  +pub fn android_indy_client_dir_path() -> PathBuf {
  + let external_storage = env::var("EXTERNAL_STORAGE");
  + let android_dir: String;
  + match external_storage {
  + Ok(val) => android_dir = val + "/.indy_client",
  + Err(err) => {
  + panic!("Failed to find external storage path {:?}", err)
  + }
  + }
  +
  + PathBuf::from(android_dir)
  +}
  +
  #[cfg(test)]
  pub fn test_pool_ip() -> String {
  env::var("TEST_POOL_IP").unwrap_or("127.0.0.1".to_string())
  