Loading core/java/com/android/internal/app/WindowDecorActionBar.java +3 −1 Original line number Diff line number Diff line Loading @@ -505,6 +505,9 @@ public class WindowDecorActionBar extends ActionBar implements mContextView.killMode(); ActionModeImpl mode = new ActionModeImpl(mContextView.getContext(), callback); if (mode.dispatchOnCreate()) { // This needs to be set before invalidate() so that it calls // onPrepareActionMode() mActionMode = mode; mode.invalidate(); mContextView.initForMode(mode); animateToMode(true); Loading @@ -518,7 +521,6 @@ public class WindowDecorActionBar extends ActionBar implements } } mContextView.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED); mActionMode = mode; return mode; } return null; Loading Loading
core/java/com/android/internal/app/WindowDecorActionBar.java +3 −1 Original line number Diff line number Diff line Loading @@ -505,6 +505,9 @@ public class WindowDecorActionBar extends ActionBar implements mContextView.killMode(); ActionModeImpl mode = new ActionModeImpl(mContextView.getContext(), callback); if (mode.dispatchOnCreate()) { // This needs to be set before invalidate() so that it calls // onPrepareActionMode() mActionMode = mode; mode.invalidate(); mContextView.initForMode(mode); animateToMode(true); Loading @@ -518,7 +521,6 @@ public class WindowDecorActionBar extends ActionBar implements } } mContextView.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED); mActionMode = mode; return mode; } return null; Loading