diff options
author | Gustav Sennton <gsennton@google.com> | 2017-01-30 18:08:01 +0000 |
---|---|---|
committer | Gustav Sennton <gsennton@google.com> | 2017-02-01 13:59:26 +0000 |
commit | 564c2fd5db707dbe3e10df3e69780c0ab6ce7a51 (patch) | |
tree | c5fa4218903f21e82af56dedb5ce49cc568469f6 /tools/aapt2/diff/Diff.cpp | |
parent | 9deb6b5a3a1ee9ed0eaa646e918ac131fb50b19c (diff) |
Make sure we cannot use packages targeting pre-O as WebView packages.
Using a WebView package targeting a release before O as WebView provider
on O will cause crashes (because of incompatibility issues), this CL
makes us interpret a package targeting a pre-O release as being invalid
on O.
Also remove the code that lets us fall back to loading the old
WebViewChromiumFactoryProvider (pre-O) class.
Bug: 34773740
Bug: 34180497
Test: Ensure WebView provider with targetSdkVersion="O" shows up in the
WebView Implementation Dev Setting, ensure targetSdkVersion=25 doesn't
show up.
Test: Add WVUS unit test to ensure a packages with targetSdkVersion < 26
are considered invalid, and > 26 are valid. Run WVUS unit tests.
Change-Id: I4d80d46019e2522bc3fc6068712d28eedb31fcce
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions