summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-07-09 15:28:51 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-07-09 15:28:51 -0700
commitdff4ec87e7b942b7b4410f639fc74c2cffb386d6 (patch)
tree0170831ebee5c0b5fba1f6ddfce0d0cd8f1d5a13 /packages
parent4d380d71e06781314b052ea71ef20ed6511e560f (diff)
parente16a21c6b4f108813e5f5e00f30e0ff075de504c (diff)
downloadframeworks_base-dff4ec87e7b942b7b4410f639fc74c2cffb386d6.zip
frameworks_base-dff4ec87e7b942b7b4410f639fc74c2cffb386d6.tar.gz
frameworks_base-dff4ec87e7b942b7b4410f639fc74c2cffb386d6.tar.bz2
am e16a21c6: resolved conflicts for merge of 4a59376d to stage-aosp-master
* commit 'e16a21c6b4f108813e5f5e00f30e0ff075de504c': Track libcore API change.
Diffstat (limited to 'packages')
-rw-r--r--packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java b/packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
index de77cac..d3bd197 100644
--- a/packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
+++ b/packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
@@ -71,7 +71,7 @@ import libcore.io.ErrnoException;
import libcore.io.IoUtils;
import libcore.io.Libcore;
import libcore.io.Streams;
-import libcore.io.StructStatFs;
+import libcore.io.StructStatVfs;
/*
* This service copies a downloaded apk to a file passed in as
@@ -244,7 +244,7 @@ public class DefaultContainerService extends IntentService {
Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);
try {
- final StructStatFs stat = Libcore.os.statfs(path);
+ final StructStatVfs stat = Libcore.os.statvfs(path);
final long totalSize = stat.f_blocks * stat.f_bsize;
final long availSize = stat.f_bavail * stat.f_bsize;
return new long[] { totalSize, availSize };