commit | 07564fa0f99137c299ea04535570d50d2654f7e4 | [log] [tgz] |
---|---|---|
author | Stefanot <stefanot@google.com> | Thu Oct 04 16:16:30 2018 +0100 |
committer | Stefanot <stefanot@google.com> | Fri Oct 05 11:43:27 2018 +0100 |
tree | baeab4036de471c3d262855179d774412c57cbe3 | |
parent | 23961c8a8057d42b8c11345dd18c87fa0748fc8c [diff] |
Create stream for every call of getNextFullRestoreDataChun. Before we where keeping the same stream for different calls, and the fileDescriptor was different so we could end up writting to an invalid file descriptor. Test: Run adb backup and restore of wallpaper package that was failing. Test: cts-tradefed run commandAndExit cts -m CtsBackupHostTestCases BUG: 117139223 Change-Id: I0d696a0e114f35427514730b0067b169f1bed08a