Support using uninstalled WebView packages as WebView implementation.
A package can be uninstalled for the system user but still be installed on the device. Currently, we do not use such a package as WebView implementation which means we fall back to using the fallback WebView package. However, if the fallback package is not valid (because it needs to be updated first) loading WebView will fail. With this change we fetch allow the fetching of information from packages that are uninstalled for the system user so that we can still load WebView when the only valid WebView provider is uninstalled for the system user. Also listen to package additions/changes/removals for all users - otherwise we won't notice when a package becomes replaced if it was already uninstalled for the system user. Bug: 29321185 Change-Id: Ia23c4493844877aea1b4eab7e666fd37540c4f97
Loading
Please register or sign in to comment