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-Original-Commit-Position: refs/heads/master@{#445509}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9079de0121eb747464e490e29fd2444dde5f0847
1 file changed
tree: 40dec6266b7c92ff754146af9321d301544b19b3
  1. java/
  2. BUILD.gn
  3. generate_resource_rewriter.gni
  4. glue.gni