Loading core/java/android/app/SearchDialog.java +4 −0 Original line number Diff line number Diff line Loading @@ -643,6 +643,10 @@ public class SearchDialog extends Dialog { @Override public ActionMode startActionModeForChild( View child, ActionMode.Callback callback, int type) { // Disable Primary Action Modes in the SearchBar, as they overlap. if (type != ActionMode.TYPE_PRIMARY) { return super.startActionModeForChild(child, callback, type); } return null; } } Loading core/java/com/android/internal/widget/ActionBarContainer.java +0 −6 Original line number Diff line number Diff line Loading @@ -250,12 +250,6 @@ public class ActionBarContainer extends FrameLayout { return mTabContainer; } @Override public ActionMode startActionModeForChild(View child, ActionMode.Callback callback) { // No starting an action mode for an action bar child! (Where would it go?) return null; } @Override public ActionMode startActionModeForChild( View child, ActionMode.Callback callback, int type) { Loading Loading
core/java/android/app/SearchDialog.java +4 −0 Original line number Diff line number Diff line Loading @@ -643,6 +643,10 @@ public class SearchDialog extends Dialog { @Override public ActionMode startActionModeForChild( View child, ActionMode.Callback callback, int type) { // Disable Primary Action Modes in the SearchBar, as they overlap. if (type != ActionMode.TYPE_PRIMARY) { return super.startActionModeForChild(child, callback, type); } return null; } } Loading
core/java/com/android/internal/widget/ActionBarContainer.java +0 −6 Original line number Diff line number Diff line Loading @@ -250,12 +250,6 @@ public class ActionBarContainer extends FrameLayout { return mTabContainer; } @Override public ActionMode startActionModeForChild(View child, ActionMode.Callback callback) { // No starting an action mode for an action bar child! (Where would it go?) return null; } @Override public ActionMode startActionModeForChild( View child, ActionMode.Callback callback, int type) { Loading