am 9951b7c4: am e5c46fae: am 6d0dd51e: Merge "Return early when checking divider before child zero."
* commit '9951b7c4f094d39db70626ed665f848971220c48': Return early when checking divider before child zero.
This commit is contained in:
committed by
Android Git Automerger
commit
c366e19823
@@ -531,6 +531,9 @@ public class ActionMenuView extends LinearLayout implements MenuBuilder.ItemInvo
|
||||
|
||||
@Override
|
||||
protected boolean hasDividerBeforeChildAt(int childIndex) {
|
||||
if (childIndex == 0) {
|
||||
return false;
|
||||
}
|
||||
final View childBefore = getChildAt(childIndex - 1);
|
||||
final View child = getChildAt(childIndex);
|
||||
boolean result = false;
|
||||
|
||||
Reference in New Issue
Block a user