OSDN Git Service

WebView: remove @Nullable from SB whitelist
authorNate Fischer <ntfschr@google.com>
Tue, 18 Jul 2017 23:08:42 +0000 (16:08 -0700)
committerNate Fischer <ntfschr@google.com>
Tue, 18 Jul 2017 23:32:19 +0000 (16:32 -0700)
commitc5ec745135ff57c7e3e99159abad2e54d76ac7ec
tree3fcadec24c72138ad1493980e691cf074769cd37
parent3698fc8ea6254c18a87fa6bb5cf459c04c7bcf68
WebView: remove @Nullable from SB whitelist

This removes the @Nullable annotation from
WebView#setSafeBrowsingWhitelist's List parameter. This does not need to
be Nullable, since the whitelist can be unset just as easily by passing
an empty list.

Bug: 63084528
Test: N/A
Change-Id: Ica9d67bc907b16e89d0a1b6a15d91e21f74cc4c9
core/java/android/webkit/WebView.java