Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 688b0af6 authored by Cary Clark's avatar Cary Clark Committed by Android (Google) Code Review
Browse files

Merge "add null check to copy selection" into honeycomb

parents a78e9f05 7170bb63
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4955,7 +4955,7 @@ public class WebView extends AbsoluteLayout
    public boolean copySelection() {
        boolean copiedSomething = false;
        String selection = getSelection();
        if (selection != "") {
        if (selection != null && selection != "") {
            if (DebugFlags.WEB_VIEW) {
                Log.v(LOGTAG, "copySelection \"" + selection + "\"");
            }