We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7835d4f + 825992f commit 6d0dd51Copy full SHA for 6d0dd51
core/java/com/android/internal/view/menu/ActionMenuView.java
@@ -524,6 +524,9 @@ public void initialize(MenuBuilder menu) {
524
525
@Override
526
protected boolean hasDividerBeforeChildAt(int childIndex) {
527
+ if (childIndex == 0) {
528
+ return false;
529
+ }
530
final View childBefore = getChildAt(childIndex - 1);
531
final View child = getChildAt(childIndex);
532
boolean result = false;
0 commit comments