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

* commit '8cd95aba2f97eb552d437c185b156ba964886a6e':
  Fix wifi AP backup
This commit is contained in:
Christopher Tate
2015-02-18 02:23:06 +00:00
committed by Android Git Automerger

View File

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