Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2977)

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 2738663003: Fix TODOs related to SDK 24 (Closed)
Patch Set: Re-revert fix TODOs related to SDK 24 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 896e9b61256eae9263727c2abd9c6308eb34acdd..f4e1cfe4cadef79138140fe3e135354e115631fc 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -2356,9 +2356,7 @@ public class AwContents implements SmartClipProvider {
void startProcessTextIntent(Intent intent) {
// on Android M, WebView is not able to replace the text with the processed text.
// 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 && !Build.VERSION.CODENAME.equals("N")) {
+ if (Build.VERSION.SDK_INT == Build.VERSION_CODES.M) {
intent.putExtra(Intent.EXTRA_PROCESS_TEXT_READONLY, true);
}

Powered by Google App Engine
This is Rietveld 408576698