Merge "Cannot force a shown item from an ActionMode into the overflow menu." into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a726e23d7b
@@ -476,6 +476,9 @@ public class ActionMenuPresenter extends BaseMenuPresenter
|
|||||||
if (isAction) maxActions--;
|
if (isAction) maxActions--;
|
||||||
|
|
||||||
item.setIsActionButton(isAction);
|
item.setIsActionButton(isAction);
|
||||||
|
} else {
|
||||||
|
// Neither requires nor requests an action button.
|
||||||
|
item.setIsActionButton(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user