Merge "Guard against monkey crash" into nyc-dev

This commit is contained in:
Jason Monk
2016-02-11 16:41:24 +00:00
committed by Android (Google) Code Review

View File

@@ -65,7 +65,7 @@ public class SettingsDrawerAdapter extends BaseAdapter {
}
public Tile getTile(int position) {
return mItems.get(position).tile;
return mItems.get(position) != null ? mItems.get(position).tile : null;
}
@Override