Merge "Fix music crash regression: Part Deux."

This commit is contained in:
TreeHugger Robot
2017-02-08 10:18:26 +00:00
committed by Android (Google) Code Review

View File

@@ -1140,7 +1140,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;