am 56238eaa: am 129ea76a: Fix wifi AP backup

* commit '56238eaaa3688c9a9858058f4dc63aade7092d9b':
  Fix wifi AP backup
This commit is contained in:
Christopher Tate
2015-02-18 02:17:57 +00:00
committed by Android Git Automerger

View File

@@ -942,6 +942,7 @@ public class SettingsBackupAgent extends BackupAgentHelper {
ByteArrayOutputStream bos = new ByteArrayOutputStream();
OutputStreamWriter out = new OutputStreamWriter(bos);
fromFile.write(out);
out.flush();
return bos.toByteArray();
} else {
return EMPTY_DATA;