Patch to avoid a crash when the app has an ExpandableListView. This AdapterView requires special support.