diff options
| author | Christopher Tate <ctate@android.com> | 2009-09-30 16:17:37 -0700 |
|---|---|---|
| committer | Christopher Tate <ctate@android.com> | 2009-09-30 17:07:37 -0700 |
| commit | 436344ae12c819f58306ceb94241a266141e1218 (patch) | |
| tree | 32688c8fbc1d40fe88ef86d034052f9608176d14 /core/java/android/backup/AbsoluteFileBackupHelper.java | |
| parent | 7e1af37c3148112d9c801272bfa6359a005baf6d (diff) | |
| download | frameworks_base-436344ae12c819f58306ceb94241a266141e1218.zip frameworks_base-436344ae12c819f58306ceb94241a266141e1218.tar.gz frameworks_base-436344ae12c819f58306ceb94241a266141e1218.tar.bz2 | |
Turn off most of the backup-related debug logging
The core logging in BackupManagerService and in the Google backup transport are
still enabled at this point.
Change-Id: I10abfa565bbd1097dd3631051b6aca163e4af33a
Diffstat (limited to 'core/java/android/backup/AbsoluteFileBackupHelper.java')
| -rw-r--r-- | core/java/android/backup/AbsoluteFileBackupHelper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/backup/AbsoluteFileBackupHelper.java b/core/java/android/backup/AbsoluteFileBackupHelper.java index ab24675..1dbccc9 100644 --- a/core/java/android/backup/AbsoluteFileBackupHelper.java +++ b/core/java/android/backup/AbsoluteFileBackupHelper.java @@ -31,6 +31,7 @@ import java.io.FileDescriptor; */ public class AbsoluteFileBackupHelper extends FileBackupHelperBase implements BackupHelper { private static final String TAG = "AbsoluteFileBackupHelper"; + private static final boolean DEBUG = false; Context mContext; String[] mFiles; @@ -54,8 +55,7 @@ public class AbsoluteFileBackupHelper extends FileBackupHelperBase implements Ba } public void restoreEntity(BackupDataInputStream data) { - // TODO: turn this off before ship - Log.d(TAG, "got entity '" + data.getKey() + "' size=" + data.size()); + if (DEBUG) Log.d(TAG, "got entity '" + data.getKey() + "' size=" + data.size()); String key = data.getKey(); if (isKeyInList(key, mFiles)) { File f = new File(key); |
