am 688b0af6: Merge "add null check to copy selection" into honeycomb
* commit '688b0af6a888a8a427d9a4c82fedf3e345e6ae34': add null check to copy selection
This commit is contained in:
@@ -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 + "\"");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user