OSDN Git Service

WebView: require APKs to target OMR1
authorNate Fischer <ntfschr@google.com>
Mon, 28 Aug 2017 19:15:56 +0000 (12:15 -0700)
committerNate Fischer <ntfschr@google.com>
Mon, 28 Aug 2017 19:15:56 +0000 (12:15 -0700)
commit220d86d142b64cb8a37f1a16eeb4fd6e9b3bd282
tree94a8f77049281bb33db0c43a94900b5ca5ba5a6d
parent0fe2910c37b822216860b29b4f9cdccae5f7ab26
WebView: require APKs to target OMR1

This disallows WebView/Monochrome APKs targeting O or below to be chosen
as WebView providers.

Bug: 65080651
Test: Open WebView shell with webview from system image, no crash
Test: Install Monochrome compiled for O, it's not in the webview provider list
Change-Id: I79162cedaa801ce227ad4c2eb3cbea9c08704da8
core/java/android/webkit/UserPackage.java