diff options
author | Shreyas Basarge <snb@google.com> | 2017-02-16 14:54:47 +0000 |
---|---|---|
committer | Shreyas Basarge <snb@google.com> | 2017-02-16 14:54:47 +0000 |
commit | 2d096ee435182f11e2d1d78b4ec015bcdbad4945 (patch) | |
tree | 2d3fc37c35fee183570d741032853422f1585d31 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 2c02bd1cf08d54baceac5a44ef64a2bc8f2e1e4b (diff) |
Fix NPE in BackupManagerService
If none of the requested packages are valid packages,
we'd run into this issue where PerformBackupTask#mQueue
is null but we try to iterate over it in finalizeBackup()
Fix is to use an empty queue as the default value instead
of null.
Bug: 35380067
Test: Manually tested by trying to backup a non-existent package.
Change-Id: Ibb2d03d5f8270bcb448ee083ee02964236aca92b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions