am 3e033267: am fa3f17f1: Merge "Don\'t take the compatibility path for non-primary ActionModes" into mnc-dev
* commit '3e03326719f7e4481c3204e834bc1c8fbdfd3466': Don't take the compatibility path for non-primary ActionModes
This commit is contained in:
@@ -793,7 +793,8 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
|
||||
@Override
|
||||
public ActionMode startActionModeForChild(
|
||||
View originalView, ActionMode.Callback callback, int type) {
|
||||
if ((mGroupFlags & FLAG_START_ACTION_MODE_FOR_CHILD_IS_NOT_TYPED) == 0) {
|
||||
if ((mGroupFlags & FLAG_START_ACTION_MODE_FOR_CHILD_IS_NOT_TYPED) == 0
|
||||
&& type == ActionMode.TYPE_PRIMARY) {
|
||||
ActionMode mode;
|
||||
try {
|
||||
mGroupFlags |= FLAG_START_ACTION_MODE_FOR_CHILD_IS_TYPED;
|
||||
|
||||
Reference in New Issue
Block a user