commit | 2d096ee435182f11e2d1d78b4ec015bcdbad4945 | [log] [tgz] |
---|---|---|
author | Shreyas Basarge <snb@google.com> | Thu Feb 16 14:54:47 2017 +0000 |
committer | Shreyas Basarge <snb@google.com> | Thu Feb 16 14:54:47 2017 +0000 |
tree | 2d3fc37c35fee183570d741032853422f1585d31 | |
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