summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author Sarp Misoglu <sarpm@google.com> 2024-01-25 18:43:57 +0000
committer Sarp Misoglu <sarpm@google.com> 2024-01-30 11:50:45 +0000
commitd13c86c09694fd9e5ee1ccfad031a741f6af5cc9 (patch)
tree1393f3f1afd77edb9ad55f45bdb0aa7b93f96491 /opengl/java
parentc2b644f01fb406aa06d081188452a6f702f73e1b (diff)
Clear pipe after onRestoreFile is called
The BackupAgent can override onRestoreFile and ignore the contents of the pipe. Currently, the FullBackupEngine assumes that the data is always consumed and when it's not the pipe buffer gets full and the restore is blocked indefinitely for the whole device. Test: atest -v android.app.backup.BackupAgentTest#doRestoreFile_consumesAllBytesInBuffer Bug: 320633449 Change-Id: Ic48a11a8134786d9427ac0ff1636bef561eb6a2a
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions