summaryrefslogtreecommitdiffstats
path: root/services/backup
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-04-28 16:38:43 -0700
committerElliott Hughes <enh@google.com>2014-04-28 16:38:43 -0700
commitf97c63350abcc6715ba9fdc21fd3405d0f7ba716 (patch)
tree9eba371ad46dc3dd0b70e40ad494623421979fab /services/backup
parent54dacbe7ca6d8a8c71d601fcf773e7b27eba3a53 (diff)
downloadframeworks_base-f97c63350abcc6715ba9fdc21fd3405d0f7ba716.zip
frameworks_base-f97c63350abcc6715ba9fdc21fd3405d0f7ba716.tar.gz
frameworks_base-f97c63350abcc6715ba9fdc21fd3405d0f7ba716.tar.bz2
Move internal libcore.os users over to android.system.
Change-Id: I84e1ace19ba3b4e58d7bb24f3ecda1bdf5dc75a5
Diffstat (limited to 'services/backup')
-rw-r--r--services/backup/java/com/android/server/backup/BackupManagerService.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/services/backup/java/com/android/server/backup/BackupManagerService.java b/services/backup/java/com/android/server/backup/BackupManagerService.java
index 0b688b6..0082b1e 100644
--- a/services/backup/java/com/android/server/backup/BackupManagerService.java
+++ b/services/backup/java/com/android/server/backup/BackupManagerService.java
@@ -74,6 +74,8 @@ import android.os.WorkSource;
import android.os.Environment.UserEnvironment;
import android.os.storage.IMountService;
import android.provider.Settings;
+import android.system.ErrnoException;
+import android.system.Os;
import android.util.EventLog;
import android.util.Log;
import android.util.Slog;
@@ -142,9 +144,6 @@ import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.PBEKeySpec;
import javax.crypto.spec.SecretKeySpec;
-import libcore.io.ErrnoException;
-import libcore.io.Libcore;
-
public class BackupManagerService extends IBackupManager.Stub {
private static final String TAG = "BackupManagerService";
@@ -2471,7 +2470,7 @@ public class BackupManagerService extends IBackupManager.Stub {
// operations any more during this pass).
Slog.w(TAG, "Unable to save widget state for " + pkgName);
try {
- Libcore.os.ftruncate(fd, filepos);
+ Os.ftruncate(fd, filepos);
} catch (ErrnoException ee) {
Slog.w(TAG, "Unable to roll back!");
}