History log of /frameworks/base/core/java/android/webkit/JavascriptInterface.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e91d5bee241f30513b82263bc71b56abfde8ad8d 12-Sep-2012 Selim Gurun <sgurun@google.com> Make JavascriptInterface annotation public.

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
/frameworks/base/core/java/android/webkit/JavascriptInterface.java
94740e6c333a109be7516abbd17dd418f23b4f0c 05-Sep-2012 Selim Gurun <sgurun@google.com> Control access to inherited methods of jsinterface objects

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
/frameworks/base/core/java/android/webkit/JavascriptInterface.java