diff options
| author | 2010-02-17 13:00:25 -0800 | |
|---|---|---|
| committer | 2010-02-17 13:00:25 -0800 | |
| commit | fed93779a3e144eaa44012b802feb20d194b3a97 (patch) | |
| tree | 594cf11bd174b679a765ee59ea3e9eec77bdc135 | |
| parent | 41207b6eb0524c6a2fe9e85f6373785e2937e90f (diff) | |
| parent | a3639da4f2301223c6126963e41874f826b4bfe1 (diff) | |
Merge "Fix cast to String[] in FullBackupAgent"
| -rw-r--r-- | core/java/android/app/FullBackupAgent.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/app/FullBackupAgent.java b/core/java/android/app/FullBackupAgent.java index d89db9667473..db198ad17bc5 100644 --- a/core/java/android/app/FullBackupAgent.java +++ b/core/java/android/app/FullBackupAgent.java @@ -48,7 +48,8 @@ public class FullBackupAgent extends BackupAgent { } // That's the file set; now back it all up - FileBackupHelper helper = new FileBackupHelper(this, (String[])allFiles.toArray()); + FileBackupHelper helper = new FileBackupHelper(this, + allFiles.toArray(new String[allFiles.size()])); helper.performBackup(oldState, data, newState); } |