Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19551a8d authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

Added getDataPreloadsMediaDirectory

Bug: 31015966
Change-Id: I8b4117daae2b1f7a59d6a192b34a105f91cbac55
parent 081e3931
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -371,6 +371,14 @@ public class Environment {
        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
     * not currently be accessible if it has been mounted by the user on their