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

Side by Side Diff: android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java

Issue 2713933002: Increment Yahoo Mail thread workaround to 1315850. (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package com.android.webview.chromium; 5 package com.android.webview.chromium;
6 6
7 import android.Manifest; 7 import android.Manifest;
8 import android.app.ActivityManager; 8 import android.app.ActivityManager;
9 import android.content.ComponentCallbacks2; 9 import android.content.ComponentCallbacks2;
10 import android.content.Context; 10 import android.content.Context;
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 // This is the last broken version shipped on LG V20/NRD90M. 602 // This is the last broken version shipped on LG V20/NRD90M.
603 if (versionCode > LGEmailActionModeWorkaround.LGEmailWorkaroundMaxVe rsion) return false; 603 if (versionCode > LGEmailActionModeWorkaround.LGEmailWorkaroundMaxVe rsion) return false;
604 shouldDisable = true; 604 shouldDisable = true;
605 } 605 }
606 606
607 // crbug.com/655759 607 // crbug.com/655759
608 // Also want to cover ".att" variant suffix package name. 608 // Also want to cover ".att" variant suffix package name.
609 final String yahooMailPackageId = "com.yahoo.mobile.client.android.mail" ; 609 final String yahooMailPackageId = "com.yahoo.mobile.client.android.mail" ;
610 if (appName.startsWith(yahooMailPackageId)) { 610 if (appName.startsWith(yahooMailPackageId)) {
611 if (appTargetSdkVersion > Build.VERSION_CODES.M) return false; 611 if (appTargetSdkVersion > Build.VERSION_CODES.M) return false;
612 if (versionCode > 1315849) return false; 612 if (versionCode > 1315850) return false;
613 shouldDisable = true; 613 shouldDisable = true;
614 } 614 }
615 615
616 // crbug.com/622151 616 // crbug.com/622151
617 final String htcMailPackageId = "com.htc.android.mail"; 617 final String htcMailPackageId = "com.htc.android.mail";
618 if (htcMailPackageId.equals(appName)) { 618 if (htcMailPackageId.equals(appName)) {
619 if (appTargetSdkVersion > Build.VERSION_CODES.M) return false; 619 if (appTargetSdkVersion > Build.VERSION_CODES.M) return false;
620 // This value is provided by HTC. 620 // This value is provided by HTC.
621 if (versionCode >= 866001861) return false; 621 if (versionCode >= 866001861) return false;
622 shouldDisable = true; 622 shouldDisable = true;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 WebViewDelegate getWebViewDelegate() { 705 WebViewDelegate getWebViewDelegate() {
706 return mWebViewDelegate; 706 return mWebViewDelegate;
707 } 707 }
708 708
709 // The method to support unreleased Android. 709 // The method to support unreleased Android.
710 WebViewContentsClientAdapter createWebViewContentsClientAdapter(WebView webV iew, 710 WebViewContentsClientAdapter createWebViewContentsClientAdapter(WebView webV iew,
711 Context context) { 711 Context context) {
712 return new WebViewContentsClientAdapter(webView, context, mWebViewDelega te); 712 return new WebViewContentsClientAdapter(webView, context, mWebViewDelega te);
713 } 713 }
714 } 714 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698