OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
081e393
)
Added getDataPreloadsMediaDirectory
author
Fyodor Kupolov
<fkupolov@google.com>
Mon, 22 Aug 2016 21:46:08 +0000
(14:46 -0700)
committer
Fyodor Kupolov
<fkupolov@google.com>
Mon, 22 Aug 2016 21:59:01 +0000
(21:59 +0000)
Bug:
31015966
Change-Id: I8b4117daae2b1f7a59d6a192b34a105f91cbac55
core/java/android/os/Environment.java
patch
|
blob
|
history
diff --git
a/core/java/android/os/Environment.java
b/core/java/android/os/Environment.java
index
8d6d9ed
..
4616af8
100644
(file)
--- a/
core/java/android/os/Environment.java
+++ b/
core/java/android/os/Environment.java
@@
-372,6
+372,14
@@
public class Environment {
}
/**
+ * @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
* computer, has been removed from the device, or some other problem has