Fix music crash regression: Part Deux.

Bug: 34888282
Test: Manual as a result of 34768986
Change-Id: Icebcb49befed5cc39eef7707ca6d97c45ec958aa
This commit is contained in:
Daniel Nishi
2017-02-07 14:43:43 -08:00
parent 99f0b44440
commit a4739b9f51

View File

@@ -1139,7 +1139,7 @@ public class ManageApplications extends InstrumentedPreferenceFragment
public void onPackageSizeChanged(String packageName) { public void onPackageSizeChanged(String packageName) {
for (int i = 0; i < mActive.size(); i++) { for (int i = 0; i < mActive.size(); i++) {
AppViewHolder holder = (AppViewHolder) mActive.get(i).getTag(); AppViewHolder holder = (AppViewHolder) mActive.get(i).getTag();
if (holder == null) { if (holder == null || holder.entry == null) {
continue; continue;
} }
ApplicationInfo info = holder.entry.info; ApplicationInfo info = holder.entry.info;