Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput.
This commit is contained in:
parent
9becbac780
commit
6890e0bc52
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ BackupDataReader::ReadAppHeader(String8* packageName, int* cookie)
|
|||
}
|
||||
size_t size = m_header.app.packageLen;
|
||||
char* buf = packageName->lockBuffer(size);
|
||||
if (packageName == NULL) {
|
||||
if (buf == NULL) {
|
||||
packageName->unlockBuffer();
|
||||
m_status = ENOMEM;
|
||||
return m_status;
|
||||
|
|
Loading…
Reference in a new issue