Merge "Added getDataPreloadsMediaDirectory" into nyc-dr1-dev

This commit is contained in:
Fyodor Kupolov
2016-08-23 00:16:54 +00:00
committed by Android (Google) Code Review

View File

@@ -371,6 +371,14 @@ public class Environment {
return new File(getDataPreloadsDirectory(), "apps"); return new File(getDataPreloadsDirectory(), "apps");
} }
/**
* @see #getDataPreloadsDirectory()
* {@hide}
*/
public static File getDataPreloadsMediaDirectory() {
return new File(getDataPreloadsDirectory(), "media");
}
/** /**
* Return the primary shared/external storage directory. This directory may * Return the primary shared/external storage directory. This directory may
* not currently be accessible if it has been mounted by the user on their * not currently be accessible if it has been mounted by the user on their