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

Issue 2643943004: Fix LG Email workaround criteria. (Closed)

Created:
3 years, 11 months ago by aelias_OOO_until_Jul13
Modified:
3 years, 11 months ago
Reviewers:
Changwan Ryu, Torne
CC:
agrieve+watch_chromium.org, android-webview-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix LG Email workaround criteria. 1) We were accidentally checking Build.VERSION.SDK_INT (version of the WebView package) when the intent was to check the targetSdkVersion of the app package itself. This would come to bite us and globally disable the workaround when we upgrade the WebView to O. 2) Decrease the APK version check to 67502100 which is the version of com.lge.email actually shipped on LG V20. The intent is for the workaround to be purely grandfathering existing nonupdatable APKs so there isn't a reason to leave headroom. 3) Take advantage of PackageUtils.getPackageVersion. BUG=651706, 683294 Review-Url: https://codereview.chromium.org/2643943004 Cr-Commit-Position: refs/heads/master@{#445509} Committed: https://chromium.googlesource.com/chromium/src/+/9079de0121eb747464e490e29fd2444dde5f0847

Patch Set 1 #

Patch Set 2 : Fix compile #

Total comments: 2

Patch Set 3 : Make number common and add Android N targetSdkVersion to thread check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -25 lines) Patch
M android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java View 1 2 4 chunks +6 lines, -4 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/LGEmailActionModeWorkaround.java View 1 2 5 chunks +20 lines, -21 lines 0 comments Download

Messages

Total messages: 28 (19 generated)
aelias_OOO_until_Jul13
Hi changwan@, PTAL.
3 years, 11 months ago (2017-01-20 00:20:38 UTC) #4
Changwan Ryu
lgtm, thanks for fixing this!
3 years, 11 months ago (2017-01-20 01:26:32 UTC) #12
aelias_OOO_until_Jul13
Also need OWNERS from torne@ for android_webview/
3 years, 11 months ago (2017-01-20 01:36:31 UTC) #13
Torne
Are you going to wait until LG confirm there isn't another version out there somewhere ...
3 years, 11 months ago (2017-01-20 12:02:38 UTC) #14
aelias_OOO_until_Jul13
On 2017/01/20 at 12:02:38, torne wrote: > Are you going to wait until LG confirm ...
3 years, 11 months ago (2017-01-20 19:15:30 UTC) #15
aelias_OOO_until_Jul13
https://codereview.chromium.org/2643943004/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/LGEmailActionModeWorkaround.java File content/public/android/java/src/org/chromium/content/browser/input/LGEmailActionModeWorkaround.java (right): https://codereview.chromium.org/2643943004/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/LGEmailActionModeWorkaround.java#newcode65 content/public/android/java/src/org/chromium/content/browser/input/LGEmailActionModeWorkaround.java:65: if (versionCode > 67502100) return false; On 2017/01/20 at ...
3 years, 11 months ago (2017-01-20 19:18:40 UTC) #16
Torne
On 2017/01/20 19:15:30, aelias wrote: > On 2017/01/20 at 12:02:38, torne wrote: > > Are ...
3 years, 11 months ago (2017-01-23 11:35:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2643943004/40001
3 years, 11 months ago (2017-01-23 21:26:39 UTC) #25
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 22:16:15 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/9079de0121eb747464e490e29fd2...

Powered by Google App Engine
This is Rietveld 408576698