summaryrefslogtreecommitdiffstats
path: root/services/backup
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2014-03-05 17:22:25 -0800
committerChristopher Tate <ctate@google.com>2014-03-05 17:22:25 -0800
commitcb20740ee171de3e604c07cdd02963d4d08a5fc9 (patch)
tree9692f596099b9fcdc4a25c00051fb443f430329e /services/backup
parentfd2c77ca249ec2d6746ff426d191fb3991b6ea3d (diff)
downloadframeworks_base-cb20740ee171de3e604c07cdd02963d4d08a5fc9.zip
frameworks_base-cb20740ee171de3e604c07cdd02963d4d08a5fc9.tar.gz
frameworks_base-cb20740ee171de3e604c07cdd02963d4d08a5fc9.tar.bz2
Fix build. Silly gits.
Change-Id: I8f21b7239621da500d9a73eb17d350e06dda9b20
Diffstat (limited to 'services/backup')
-rw-r--r--services/backup/java/com/android/server/backup/BackupManagerService.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/services/backup/java/com/android/server/backup/BackupManagerService.java b/services/backup/java/com/android/server/backup/BackupManagerService.java
index d73c4e8..8eaefef 100644
--- a/services/backup/java/com/android/server/backup/BackupManagerService.java
+++ b/services/backup/java/com/android/server/backup/BackupManagerService.java
@@ -1308,26 +1308,6 @@ public class BackupManagerService extends IBackupManager.Stub {
}
}
- // Snap up to current on the pw file version
- mPasswordVersion = BACKUP_PW_FILE_VERSION;
- FileOutputStream pwFout = null;
- DataOutputStream pwOut = null;
- try {
- pwFout = new FileOutputStream(mPasswordVersionFile);
- pwOut = new DataOutputStream(pwFout);
- pwOut.writeInt(mPasswordVersion);
- } catch (IOException e) {
- Slog.e(TAG, "Unable to write backup pw version; password not changed");
- return false;
- } finally {
- try {
- if (pwOut != null) pwOut.close();
- if (pwFout != null) pwFout.close();
- } catch (IOException e) {
- Slog.w(TAG, "Unable to close pw version record");
- }
- }
-
// Clearing the password is okay
if (newPw == null || newPw.isEmpty()) {
if (mPasswordHashFile.exists()) {