Start action mode even if clipboard is empty
Previously clank would not call View#startActionMode for a FloatingPastePopup menu if the copy/paste clipboard was empty (because there would be nothing in the menu). This is a problem because apps using WebView may want to add items to the FloatingPastePopup menu (using startActionMode) even if the clipboard is empty. This patch makes clank call View#startActionMode and make an empty menu when there is nothing to paste. BUG=652916 Review-Url: https://codereview.chromium.org/2443963003 Cr-Commit-Position: refs/heads/master@{#427210}
Showing
Please register or sign in to comment