Catch badly formed URLs in WebView accessibility injector.
Bug: 7206684 Change-Id: I13e8f29043314430ea3fcfa8ab59040136d06e57
This commit is contained in:
@ -514,6 +514,8 @@ class AccessibilityInjector {
|
||||
}
|
||||
} catch (URISyntaxException e) {
|
||||
// Do nothing.
|
||||
} catch (IllegalArgumentException e) {
|
||||
// Catch badly-formed URLs.
|
||||
}
|
||||
|
||||
return ACCESSIBILITY_SCRIPT_INJECTION_UNDEFINED;
|
||||
|
Reference in New Issue
Block a user