Skip to content
Commit 07564fa0 authored by Stefanot's avatar Stefanot
Browse files

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
parent 23961c8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment