summaryrefslogtreecommitdiffstats
path: root/packages/DefaultContainerService/src
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-07-09 14:46:18 -0700
committerElliott Hughes <enh@google.com>2013-07-09 14:46:18 -0700
commitbefd0b1bdfb4492425944a1b7fcf6d10eaed9b4c (patch)
treeb0e6320cc4cfef37271bffea6b859ac3139e3757 /packages/DefaultContainerService/src
parentfa42e774bc48c3172023c8c49610baa469c19e39 (diff)
downloadframeworks_base-befd0b1bdfb4492425944a1b7fcf6d10eaed9b4c.zip
frameworks_base-befd0b1bdfb4492425944a1b7fcf6d10eaed9b4c.tar.gz
frameworks_base-befd0b1bdfb4492425944a1b7fcf6d10eaed9b4c.tar.bz2
Track libcore API change.
Change-Id: Ib818a7f21325c5f918bf497033a90d76b25ec9e7
Diffstat (limited to 'packages/DefaultContainerService/src')
-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 731a09c..2a82e06 100644
--- a/packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
+++ b/packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
@@ -69,7 +69,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
@@ -241,7 +241,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 };