Merge "Fixed AlertController not showing the title divider when a ListView is used in combination with a custom view." am: 461d9c4b4b am: 29e0996552 am: e1a23c7fa5
am: b796bfd4f2
Change-Id: Ife7c84346612f9c4300add1a99f585b6fcf52e58
diff --git a/v7/appcompat/src/android/support/v7/app/AlertController.java b/v7/appcompat/src/android/support/v7/app/AlertController.java
index 986baf3..5ff4537 100644
--- a/v7/appcompat/src/android/support/v7/app/AlertController.java
+++ b/v7/appcompat/src/android/support/v7/app/AlertController.java
@@ -501,10 +501,8 @@
// Only show the divider if we have a title.
View divider = null;
- if (mMessage != null || mListView != null || hasCustomPanel) {
- if (!hasCustomPanel) {
- divider = topPanel.findViewById(R.id.titleDividerNoCustom);
- }
+ if (mMessage != null || mListView != null) {
+ divider = topPanel.findViewById(R.id.titleDividerNoCustom);
}
if (divider != null) {