Android: Add version suffix to extracted .pak files

Desktop / Chromium - agrieve [chromium.org] - 20 April 2017 14:03 EDT

This will (hopefully) guarantee that we never use a stale .pak file, and actually simplifies the triggering & clean-up logic somewhat (e.g. no longer uses SharedPreferences).

BUG=691719

Review-Url: https://codereview.chromium.org/2828823002 Cr-Commit-Position: refs/heads/master@{#466067}

a9cdba4 Android: Add version suffix to extracted .pak files
base/android/build_info.cc | 2 +
base/android/build_info.h | 4 +
.../java/src/org/chromium/base/BuildInfo.java | 16 +++
.../src/org/chromium/base/ResourceExtractor.java | 153 ++++++---------------
ui/base/resource/resource_bundle.cc | 19 ++-
5 files changed, 84 insertions(+), 110 deletions(-)

Upstream: git.chromium.org


  • Share