OSDN Git Service

Remove WebView-fallback code for handling the non-functional stub.
authorGustav Sennton <gsennton@google.com>
Thu, 6 Apr 2017 15:18:02 +0000 (16:18 +0100)
committerGustav Sennton <gsennton@google.com>
Fri, 7 Apr 2017 12:59:20 +0000 (12:59 +0000)
commit963dbbbdb616646240dde9a4b2b7b7592ddfefaa
treef28171a57e1e1b015cc3ca3a6e3b08dc9d6a91ec
parent087daa0da55b892b30aaedfa7fcbaa987cc12fd3
Remove WebView-fallback code for handling the non-functional stub.

We have already removed the non-functional WebView stub, so we can now
remove the logic ensuring that a primary device user could use any
valid WebView package even when a secondary user did not have any
WebView package to choose from (since all device users should always
have a valid package to use as WebView implementation).

Bug: 34730873
Test: run WebViewUpdateServiceTest tests.
Test: Create new user, disable Chrome for that user, ensure WebView
loads for that user and for the primary user.
Change-Id: Ia77cc2efd9e40a157fb5b68a988425ef15508033
services/core/java/com/android/server/webkit/WebViewUpdater.java
services/tests/servicestests/src/com/android/server/webkit/WebViewUpdateServiceTest.java