am 688b0af6: Merge "add null check to copy selection" into honeycomb

* commit '688b0af6a888a8a427d9a4c82fedf3e345e6ae34':
  add null check to copy selection
This commit is contained in:
Cary Clark
2011-01-12 08:21:03 -08:00
committed by Android Git Automerger

View File

@@ -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 + "\"");
}