OSDN Git Service

Two WebView API cleanups
authorJonathan Dixon <joth@google.com>
Thu, 12 Apr 2012 20:21:07 +0000 (21:21 +0100)
committerJonathan Dixon <joth@google.com>
Fri, 13 Apr 2012 15:36:16 +0000 (16:36 +0100)
commit939e5040b51539be561db1d18dec18196f201f5c
tree157ca266aa9ed93306762748fb127ab39654dc0a
parentf804ba131b4f543ece1973126c0ae5d4b919ee8b
Two WebView API cleanups

- remove final from classes which we will need to provide subclasses
  in future: CookieManager, GeolocationPermissions, WebIconDatabase
  and WebStorage. None of these have published constructors,
  so applications cannot subclass them anyway.

- Also convert some protected members of JsResult to private, as its of
  no use to legal subclasses, and applications cannot subclass it.

Change-Id: Iaca9d2db31e25853b6c55feae41d9e7774087479
api/16.txt
api/current.txt
core/java/android/webkit/CookieManager.java
core/java/android/webkit/GeolocationPermissions.java
core/java/android/webkit/JsResult.java
core/java/android/webkit/WebIconDatabase.java
core/java/android/webkit/WebStorage.java