summaryrefslogtreecommitdiffstats
path: root/tests/backup/src/com/android
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2009-06-25 18:29:18 -0400
committerJoe Onorato <joeo@android.com>2009-06-25 20:36:09 -0400
commit4ababd922eac5931e0222862ff082dc29e012816 (patch)
tree9b7ed494cd38bed3ded7c34ce93425d35d42fc04 /tests/backup/src/com/android
parent5cb400bd72726c22f641f334951b35ce2ddcfeef (diff)
downloadframeworks_base-4ababd922eac5931e0222862ff082dc29e012816.zip
frameworks_base-4ababd922eac5931e0222862ff082dc29e012816.tar.gz
frameworks_base-4ababd922eac5931e0222862ff082dc29e012816.tar.bz2
Make the BackupHelperDispatcher properly handle multiple helpers.
Diffstat (limited to 'tests/backup/src/com/android')
-rw-r--r--tests/backup/src/com/android/backuptest/BackupTestAgent.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/backup/src/com/android/backuptest/BackupTestAgent.java b/tests/backup/src/com/android/backuptest/BackupTestAgent.java
index c6acc66..0fdfb18 100644
--- a/tests/backup/src/com/android/backuptest/BackupTestAgent.java
+++ b/tests/backup/src/com/android/backuptest/BackupTestAgent.java
@@ -23,6 +23,7 @@ public class BackupTestAgent extends BackupHelperAgent
{
public void onCreate() {
addHelper("data_files", new FileBackupHelper(this, BackupTestActivity.FILE_NAME));
+ addHelper("more_data_files", new FileBackupHelper(this, "another_file.txt"));
}
}