summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2017-10-02 17:09:32 -0400
committerTorne (Richard Coles) <torne@google.com>2017-10-03 10:40:20 -0400
commitff937ac226c73f992df79b61a16973b41b406772 (patch)
treeb1d69caf68bc96f5a5f535b170b7c311db34c43f /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf27d5f0afc5a7badcb16bdcc34a8fa79613f18f4 (diff)
Improve handling of devices without a WebView.
Use the presence of FEATURE_WEBVIEW to determine whether a device is intended to have a WebView implementation or not, instead of trying to fall back to NullWebViewFactoryProvider after loading WebView fails. This removes the need for nullwebview entirely, and eliminates a class of possible bug where unexpected exceptions during loading cause the fallback mechanism not to work reliably. On devices which don't have the feature, don't start WebViewUpdateService at all. Guard all the places which try to access the service to return reasonable (empty/null) results when this is the case, instead of throwing exceptions. Change-Id: I839adaaf0abee28f4989e3fbc0c49c0732d0ec1c Bug: 31849211 Fixes: 28529980 Test: on wear and non-wear, cts-tradefed run cts -m CtsWebkitTestCases
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions