summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/JavascriptInterface.java
Commit message (Collapse)AuthorAgeFilesLines
* Make JavascriptInterface annotation public.Selim Gurun2012-09-121-2/+1
| | | | | | | | | | | Bug: 7073422 This change makes @JavascriptInterface public and it requires using this annotation to allow javascript access to public java methods for API level JELLY_BEAN_MR1 and above. The behavior does not change for API levels JELLY_BEAN and below. Change-Id: I4108b17cf71b9ac273d7b61b1c8f7f5581e922ee
* Control access to inherited methods of jsinterface objectsSelim Gurun2012-09-101-0/+36
Bug: 7073422 Create the plumbing to use an annotation to allow access to inherited methods of jsinterface objects. The default webview behavior has not changed yet. However internally an a flag is introduced to restrict javascript access to methods that have an annotation. Change-Id: I41927248e6bc4b09d17c0707c60fe5e6ab681e66