am 129ea76a: Fix wifi AP backup

* commit '129ea76a4a129fb3e8e997e8c604c0712e8a9d73':
  Fix wifi AP backup
This commit is contained in:
Christopher Tate
2015-02-18 02:07:55 +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;