commit | 7377fc0716b475f1063e0bea963cc6baecf4560c | [log] [tgz] |
---|---|---|
author | Torne (Richard Coles) <torne@google.com> | Thu Aug 14 16:41:38 2014 +0100 |
committer | Torne (Richard Coles) <torne@google.com> | Thu Aug 14 16:41:38 2014 +0100 |
tree | b1f8182bd5b208eceedc3d7bd241917617d3fd99 | |
parent | 630307b435b7ee2129234e989dd6cb908d142fad [diff] |
Delete profile data if the WebView is downgraded. If the WebView package has been downgraded since the previous time we were used in this application, it may not be safe to load data from the old profile as Chromium doesn't support this. Detect the downgrade by saving the version code of the package in a shared preference and deleting the profile files if it's lower. Bug: 16724751 Change-Id: I832dccadee1f27f8bf480a21200be584949755f0