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

Commit 806a185b authored by Martijn Coenen's avatar Martijn Coenen
Browse files

Add buildExternalStorageAndroidObbDirs().

For use by DownloadManager.

Bug: 153504419
Test: atest CtsDownloadManagerInstaller
Change-Id: Ifd45ad779087fb5ba3d885d8e648bc24bc8656eb
parent 1b981a3a
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -970,6 +970,15 @@ public class Environment {
        return sCurrentUser.buildExternalStorageAndroidDataDirs();
    }

    /**
     * Returns the path for android-specific OBB data on the SD card.
     * @hide
     */
    public static File[] buildExternalStorageAndroidObbDirs() {
        throwIfUserRequired();
        return sCurrentUser.buildExternalStorageAndroidObbDirs();
    }

    /**
     * Generates the raw path to an application's data
     * @hide