commit | 58543f1dd45afb1a70c594f41f9f703b8b0b8eaa | [log] [tgz] |
---|---|---|
author | Daniel Nishi <dhnishi@google.com> | Wed Feb 01 14:19:28 2017 -0800 |
committer | Daniel Nishi <dhnishi@google.com> | Wed Feb 01 14:19:28 2017 -0800 |
tree | 0ae1945b27cce34378f7ad2085978791719fc6f2 | |
parent | d1172942ee45efb072f388100fd1ebb45948a9c3 [diff] |
Don't crash in Music Storage Settings. This crash occurs because the music files entry is active, but does not have an AppEntry (because it is not an app.) ManageApplications assumes all active elements have an AppEntry, which causes an NPE. By adding in a null check, we can avoid this. Bug: 34888282 Test: Manual -- because ManageApplications needs refactoring badly. Change-Id: Ief0c202f6176d90e492e62e5930b940e5a28b95c