summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebView.java
diff options
context:
space:
mode:
authorSelim Gurun <sgurun@google.com>2012-08-21 17:32:35 -0700
committerSelim Gurun <sgurun@google.com>2012-08-21 18:02:47 -0700
commit92b81a3e4b793aa139c002c110dae4285240412f (patch)
tree5f6fe92905f1d35d1f595087de3879e2d0270bd7 /core/java/android/webkit/WebView.java
parenta6d16993eb6b8834095b8e308523b2d28259e430 (diff)
Fix onFindResultReceived API
This is to fix open source bug 36509, i.e. http://code.google.com/p/android/issues/detail?id=36509 the parameters are swapped. Change-Id: I6245d254943c7c97e847a241d0069d85118763f7
Diffstat (limited to 'core/java/android/webkit/WebView.java')
-rw-r--r--core/java/android/webkit/WebView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java
index 436762d66caa..82635d76f028 100644
--- a/core/java/android/webkit/WebView.java
+++ b/core/java/android/webkit/WebView.java
@@ -310,15 +310,15 @@ public class WebView extends AbsoluteLayout
/**
* Notifies the listener about progress made by a find operation.
*
- * @param numberOfMatches how many matches have been found
* @param activeMatchOrdinal the zero-based ordinal of the currently selected match
+ * @param numberOfMatches how many matches have been found
* @param isDoneCounting whether the find operation has actually completed. The listener
* may be notified multiple times while the
* operation is underway, and the numberOfMatches
* value should not be considered final unless
* isDoneCounting is true.
*/
- public void onFindResultReceived(int numberOfMatches, int activeMatchOrdinal,
+ public void onFindResultReceived(int activeMatchOrdinal, int numberOfMatches,
boolean isDoneCounting);
}