summaryrefslogtreecommitdiff
path: root/core/java/android/os/FileUtils.java
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2012-08-17 08:45:55 -0700
committerKenny Root <kroot@google.com>2012-08-20 12:24:05 -0700
commit4c74f8c1713fa82904b10beec4da9ad8ebb97375 (patch)
tree08ef3089b5599e410f066f894d75835793c7cfe2 /core/java/android/os/FileUtils.java
parente00245737cc4844b77f95538e0728a4166b856a0 (diff)
Use Libcore.os.umask for setting umask
Libcore.os now provides a umask method call, so just use that since it's available. Change-Id: I8826fa40bcab3d61a424ff98a8050d3e44f7ec34
Diffstat (limited to 'core/java/android/os/FileUtils.java')
-rw-r--r--core/java/android/os/FileUtils.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/java/android/os/FileUtils.java b/core/java/android/os/FileUtils.java
index 7c103aaa1484..0941d719882b 100644
--- a/core/java/android/os/FileUtils.java
+++ b/core/java/android/os/FileUtils.java
@@ -53,8 +53,6 @@ public class FileUtils {
public static native int setPermissions(String file, int mode, int uid, int gid);
- public static native int setUMask(int mask);
-
/** returns the FAT file system volume ID for the volume mounted
* at the given mount point, or -1 for failure
* @param mountPoint point for FAT volume