Index: android_webview/java/src/org/chromium/android_webview/AwContents.java |
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java |
index 9b4583347d8c478bbe3d942da87909a517846632..714b24a57dd839776e9dec97257ff86ac62933dd 100644 |
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java |
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java |
@@ -2317,7 +2317,7 @@ public class AwContents implements SmartClipProvider, |
// So set the readonly flag for M. |
// TODO(hush): remove the part about VERSION.CODENAME equality with N, after N release. |
// crbug.com/543272 |
- if (Build.VERSION.SDK_INT == Build.VERSION_CODES.M && !"N".equals(Build.VERSION.CODENAME)) { |
+ if (Build.VERSION.SDK_INT == Build.VERSION_CODES.M && !Build.VERSION.CODENAME.equals("N")) { |
intent.putExtra(Intent.EXTRA_PROCESS_TEXT_READONLY, true); |
} |