OSDN Git Service

WebView: add @NonNull annotation to API
authorNate Fischer <ntfschr@google.com>
Thu, 1 Mar 2018 08:55:35 +0000 (00:55 -0800)
committerNate Fischer <ntfschr@google.com>
Thu, 1 Mar 2018 08:55:35 +0000 (00:55 -0800)
commit65e3be0255aa2c6dade77db5c62842217a8aa762
tree11f73dd29649fb81ee8821282c37303b417baf03
parente7e42ceb028c49b626e2cee591a967c7a16fb830
WebView: add @NonNull annotation to API

No change to logic, only an annotation change.

startSafeBrowsing() should never receive a null Context. This adds
@NonNull to hint to developers not to pass null Contexts.

Test: N/A
Change-Id: I46d863047bf7563ea2a1adf592f3f381be95ca49
core/java/android/webkit/WebView.java